Remove obsolete parts of config
This commit is contained in:
parent
cbe88024dd
commit
e5f1e11698
2 changed files with 78 additions and 106 deletions
11
base.nix
11
base.nix
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
#################### Packages ####################
|
||||
environment.systemPackages = with pkgs; [
|
||||
rxvt-unicode-emoji
|
||||
rxvt-unicode
|
||||
tmux
|
||||
git
|
||||
nano
|
||||
|
@ -50,10 +50,6 @@
|
|||
bind v split-window -h
|
||||
|
||||
# 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-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"
|
||||
|
@ -65,10 +61,6 @@
|
|||
bind -n C-Down select-pane -D
|
||||
|
||||
# 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 j resize-pane -D 10
|
||||
bind -r k resize-pane -U 10
|
||||
|
@ -77,7 +69,6 @@
|
|||
bind M-c attach -c "#{pane_current_path}"
|
||||
|
||||
set -s escape-time 0
|
||||
# unbind -n tab
|
||||
'';
|
||||
|
||||
#################### SSH configuration ####################
|
||||
|
|
21
desktop.nix
21
desktop.nix
|
@ -201,15 +201,10 @@ let
|
|||
bindsym $mod+d exec --no-startup-id "rofi -theme 'Arc-Dark' -show combi -combi-modes 'run,ssh' -modes combi"
|
||||
|
||||
# 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+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
# MARK!
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
|
@ -218,15 +213,10 @@ let
|
|||
bindsym $mod+Right focus right
|
||||
|
||||
# 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+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
# MARK!
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
|
@ -235,9 +225,7 @@ let
|
|||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split orientation
|
||||
# bindsym $mod+h 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'
|
||||
|
||||
# toggle fullscreen mode for the focused container
|
||||
|
@ -246,8 +234,6 @@ let
|
|||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
# bindsym $mod+l layout toggle split
|
||||
# MARK!
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
@ -268,11 +254,6 @@ let
|
|||
bindsym j resize grow 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 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
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
|
@ -441,7 +422,7 @@ let
|
|||
!! terminus names see end of file!
|
||||
|
||||
URxvt.depth: 32
|
||||
URxvt.background: [100]#0f0f0f
|
||||
URxvt.background: [100]#gf0f0f
|
||||
URxvt.foreground: #a0a0a0
|
||||
URxvt*scrollBar: false
|
||||
URxvt*mouseWheelScrollPage: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue