diff options
author | Till Höppner | 2018-04-29 16:45:38 +0200 |
---|---|---|
committer | Till Höppner | 2018-04-29 16:45:38 +0200 |
commit | 0d69fbed9b8416621d1a4341d9ba0865cc22a36b (patch) | |
tree | b97f2776cbcd915f6ee8ef4c911eaf798a5fdc37 | |
parent | 564be8c4d1d5e60ff9a25b68b8c22cbe09a378e0 (diff) | |
download | i3-master.tar.gz i3-master.tar.xz i3-master.zip |
-rw-r--r-- | config | 88 |
1 files changed, 40 insertions, 48 deletions
@@ -33,8 +33,8 @@ hide_edge_borders both floating_modifier $mod # start a terminal -bindsym $mod+Return exec --no-startup-id mlterm -bindsym $mod+Shift+Return exec --no-startup-id st +bindsym $mod+Return exec --no-startup-id st +bindsym $mod+Shift+Return exec --no-startup-id mlterm # kill focused window bindsym $mod+Shift+c kill @@ -42,7 +42,6 @@ bindsym $mod+Shift+c kill # start dmenu (a program launcher) bindsym $mod+p exec --no-startup-id dmenu_run -nb "#002b36" -nf "#bbbbbb" -l 10 bindsym $mod+o exec --no-startup-id ~/bin/passmenu_mod --type -nb "#002b36" -nf "#bbbbbb" -l 10 -bindsym $mod+i exec --no-startup-id ~/bin/mpc_control -j # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that @@ -50,11 +49,11 @@ bindsym $mod+i exec --no-startup-id ~/bin/mpc_control -j # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # firefox (switch to workspace 1 as main web workspace) -bindsym $mod+w exec --no-startup-id ~/bin/clip_first firefox --new-tab && i3-msg 'workspace 1' -bindsym $mod+f exec --no-startup-id ~/bin/clip_first firefox --new-window +bindsym $mod+w exec --no-startup-id ~/bin/clip_first web --new-tab && i3-msg 'workspace 1: web' +bindsym $mod+f exec --no-startup-id ~/bin/clip_first web --new-window # screenshots -bindsym --release $mod+Print exec --no-startup-id zsh -ic pbi +bindsym --release $mod+Print exec --no-startup-id maim -m 10 -us | pb -i # screen brightness bindsym $mod+F8 exec --no-startup-id xbacklight -10 @@ -63,12 +62,18 @@ bindsym $mod+Shift+F8 exec --no-startup-id xbacklight = 1 bindsym $mod+Shift+F9 exec --no-startup-id xbacklight = 100 bindsym $mod+y exec --no-startup-id xrandr --output eDP1 --brightness 1.0 +bindsym $mod+x exec --no-startup-id xrandr --output eDP1 --brightness 1.2 +bindsym $mod+c exec --no-startup-id xrandr --output eDP1 --brightness 1.5 bindsym $mod+Shift+y exec --no-startup-id xrandr --output eDP1 --brightness 3.0 +# redshift + +bindsym $mod+I exec --no-startup-id pkill -USR1 redshift + # pulse volume bindsym $mod+z exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% # mpd volume bindsym $mod+u exec --no-startup-id mpc toggle @@ -127,49 +132,47 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child -# switch to workspace -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 +## Workspaces + +bindsym $mod+1 workspace 1: web +bindsym $mod+Shift+1 move container to workspace 1: web +bindsym $mod+2 workspace 2: im +bindsym $mod+Shift+2 move container to workspace 2: im +bindsym $mod+3 workspace 3: code +bindsym $mod+Shift+3 move container to workspace 3: code +bindsym $mod+4 workspace 4: cfg +bindsym $mod+Shift+4 move container to workspace 4: cfg +bindsym $mod+5 workspace 5: doc +bindsym $mod+Shift+5 move container to workspace 5: doc +bindsym $mod+6 workspace 6: music +bindsym $mod+Shift+6 move container to workspace 6: music bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 -bindsym $mod+Mod1+1 workspace 11 -bindsym $mod+Mod1+2 workspace 12 -bindsym $mod+Mod1+3 workspace 13 -bindsym $mod+Mod1+4 workspace 14 -bindsym $mod+Mod1+5 workspace 15 -bindsym $mod+Mod1+6 workspace 16 -bindsym $mod+Mod1+7 workspace 17 -bindsym $mod+Mod1+8 workspace 18 -bindsym $mod+Mod1+9 workspace 19 -bindsym $mod+Mod1+0 workspace 20 - - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+8 workspace 8 bindsym $mod+Shift+8 move container to workspace 8 +bindsym $mod+9 workspace 9 bindsym $mod+Shift+9 move container to workspace 9 +bindsym $mod+0 workspace 10 bindsym $mod+Shift+0 move container to workspace 10 +bindsym $mod+Mod1+1 workspace 11 bindsym $mod+Shift+Mod1+1 move container to workspace 11 +bindsym $mod+Mod1+2 workspace 12 bindsym $mod+Shift+Mod1+2 move container to workspace 12 +bindsym $mod+Mod1+3 workspace 13 bindsym $mod+Shift+Mod1+3 move container to workspace 13 +bindsym $mod+Mod1+4 workspace 14 bindsym $mod+Shift+Mod1+4 move container to workspace 14 +bindsym $mod+Mod1+5 workspace 15 bindsym $mod+Shift+Mod1+5 move container to workspace 15 +bindsym $mod+Mod1+6 workspace 16 bindsym $mod+Shift+Mod1+6 move container to workspace 16 +bindsym $mod+Mod1+7 workspace 17 bindsym $mod+Shift+Mod1+7 move container to workspace 17 +bindsym $mod+Mod1+8 workspace 18 bindsym $mod+Shift+Mod1+8 move container to workspace 18 +bindsym $mod+Mod1+9 workspace 19 bindsym $mod+Shift+Mod1+9 move container to workspace 19 +bindsym $mod+Mod1+0 workspace 20 bindsym $mod+Shift+Mod1+0 move container to workspace 20 # reload the configuration file @@ -233,17 +236,6 @@ bindsym $mod+r mode "resize" # } #} -# for_window [title="cancer"] floating enable - # keyboard layouts bindsym $mod+F11 exec setxkbmap de bindsym $mod+F12 exec setxkbmap de neo -#exec_always --no-startup-id setxkbmap de -exec_always --no-startup-id setxkbmap -layout de,el -variant ,polytonic grp:rctrl_switch -exec_always --no-startup-id dunst -config ~/cfg/dunst/dunstrc - -exec_always --no-startup-id nm-applet -exec --no-startup-id ~/bin/cap-pulse-volume - -exec_always --no-startup-id ~/.config/polybar/launch.sh -exec_always --no-startup-id feh --bg-scale ~/res/wallpaper |