Remove obsolete parts of config

This commit is contained in:
Vili Sinervä 2024-06-04 14:29:06 +03:00
parent cbe88024dd
commit e5f1e11698
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 78 additions and 106 deletions

View file

@ -3,7 +3,7 @@
{ {
#################### Packages #################### #################### Packages ####################
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
rxvt-unicode-emoji rxvt-unicode
tmux tmux
git git
nano nano
@ -50,10 +50,6 @@
bind v split-window -h bind v split-window -h
# Smart pane switching with awareness of Vim splits. # Smart pane switching with awareness of Vim splits.
# bind -n C-i run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-i) || tmux select-pane -L"
# bind -n C-n run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-n) || tmux select-pane -D"
# bind -n C-e run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-e) || tmux select-pane -U"
# bind -n C-o run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-o) || tmux select-pane -R"
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
@ -65,10 +61,6 @@
bind -n C-Down select-pane -D bind -n C-Down select-pane -D
# resize panes more easily # resize panes more easily
# bind -r i resize-pane -L 10
# bind -r n resize-pane -D 10
# bind -r e resize-pane -U 10
# bind -r o resize-pane -R 10
bind -r h resize-pane -L 10 bind -r h resize-pane -L 10
bind -r j resize-pane -D 10 bind -r j resize-pane -D 10
bind -r k resize-pane -U 10 bind -r k resize-pane -U 10
@ -77,7 +69,6 @@
bind M-c attach -c "#{pane_current_path}" bind M-c attach -c "#{pane_current_path}"
set -s escape-time 0 set -s escape-time 0
# unbind -n tab
''; '';
#################### SSH configuration #################### #################### SSH configuration ####################

View file

@ -201,15 +201,10 @@ let
bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run,ssh' -modes combi" bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run,ssh' -modes combi"
# change focus # change focus
# bindsym $mod+i focus left
# bindsym $mod+n focus down
# bindsym $mod+e focus up
# bindsym $mod+o focus right
bindsym $mod+h focus left bindsym $mod+h focus left
bindsym $mod+j focus down bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# MARK!
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
@ -218,15 +213,10 @@ let
bindsym $mod+Right focus right bindsym $mod+Right focus right
# move focused window # move focused window
# bindsym $mod+Shift+i move left
# bindsym $mod+Shift+n move down
# bindsym $mod+Shift+e move up
# bindsym $mod+Shift+o move right
bindsym $mod+Shift+h move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right bindsym $mod+Shift+l move right
# MARK!
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
@ -235,9 +225,7 @@ let
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
# split orientation # split orientation
# bindsym $mod+h split h;exec notify-send 'tile horizontally'
bindsym $mod+e split h;exec notify-send 'tile horizontally' bindsym $mod+e split h;exec notify-send 'tile horizontally'
# MARK!
bindsym $mod+v split v;exec notify-send 'tile vertically' bindsym $mod+v split v;exec notify-send 'tile vertically'
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
@ -246,8 +234,6 @@ let
# change container layout (stacked, tabbed, toggle split) # change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
# bindsym $mod+l layout toggle split
# MARK!
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
@ -268,11 +254,6 @@ let
bindsym j resize grow height 5 px or 5 ppt bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt bindsym k resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt bindsym l resize grow width 5 px or 5 ppt
# bindsym i resize shrink width 5 px or 5 ppt
# bindsym n resize grow height 5 px or 5 ppt
# bindsym e resize shrink height 5 px or 5 ppt
# bindsym o resize grow width 5 px or 5 ppt
# MARK!
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
@ -441,7 +422,7 @@ let
!! terminus names see end of file! !! terminus names see end of file!
URxvt.depth: 32 URxvt.depth: 32
URxvt.background: [100]#0f0f0f URxvt.background: [100]#gf0f0f
URxvt.foreground: #a0a0a0 URxvt.foreground: #a0a0a0
URxvt*scrollBar: false URxvt*scrollBar: false
URxvt*mouseWheelScrollPage: false URxvt*mouseWheelScrollPage: false