diff options
| author | jason | 2020-04-15 15:44:03 -0600 |
|---|---|---|
| committer | jason | 2020-04-15 15:44:03 -0600 |
| commit | 9074e75d4a770d4a0a87141e80cecaecfb3a7215 (patch) | |
| tree | aa796e0ca3646d48ba1737e2db72a55c9c583032 /i3 | |
| parent | 4ca8fd322960a8c64f3f43b839d88efdaf138d13 (diff) | |
| download | dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.tar.gz dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.zip | |
updates
Diffstat (limited to 'i3')
| -rw-r--r-- | i3/.config/i3/config | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index a047be8..e4e7ea6 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config | |||
| @@ -30,7 +30,7 @@ font pango:monospace 8 | |||
| 30 | floating_modifier $mod | 30 | floating_modifier $mod |
| 31 | 31 | ||
| 32 | # start a terminal | 32 | # start a terminal |
| 33 | bindsym $mod+Return exec urxvt | 33 | bindsym $mod+Return exec alacritty |
| 34 | 34 | ||
| 35 | # kill focused window | 35 | # kill focused window |
| 36 | bindsym $mod+Shift+q kill | 36 | bindsym $mod+Shift+q kill |
| @@ -125,7 +125,7 @@ bindsym $mod+Shift+c reload | |||
| 125 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | 125 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) |
| 126 | bindsym $mod+Shift+r restart | 126 | bindsym $mod+Shift+r restart |
| 127 | # exit i3 (logs you out of your X session) | 127 | # exit i3 (logs you out of your X session) |
| 128 | bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" | 128 | bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" |
| 129 | 129 | ||
| 130 | # resize window (you can also use the mouse for that) | 130 | # resize window (you can also use the mouse for that) |
| 131 | mode "resize" { | 131 | mode "resize" { |
| @@ -153,16 +153,25 @@ mode "resize" { | |||
| 153 | 153 | ||
| 154 | bindsym $mod+r mode "resize" | 154 | bindsym $mod+r mode "resize" |
| 155 | 155 | ||
| 156 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% | ||
| 157 | bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% | ||
| 158 | bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob | ||
| 159 | |||
| 156 | # Start i3bar to display a workspace bar (plus the system information i3status | 160 | # Start i3bar to display a workspace bar (plus the system information i3status |
| 157 | # finds out, if available) | 161 | # finds out, if available) |
| 158 | bar { | 162 | bar { |
| 159 | status_command i3status | 163 | status_command i3status |
| 160 | tray_output primary | 164 | tray_output primary |
| 165 | # status_command i3status-rs ~/.i3status-rs.toml | ||
| 161 | } | 166 | } |
| 167 | #exec_always --no-startup-id $HOME/bin/polybar-launch.sh | ||
| 162 | 168 | ||
| 163 | # Fix JB IntelliJ windows to float | 169 | # Intellij splash screen float |
| 170 | for_window [class="jetbrains-idea" title="win0"] floating enable; | ||
| 171 | # Fix dialog windows so they don't get left behind | ||
| 164 | for_window [class="^jetbrains-.+"][window_type=dialog] focus | 172 | for_window [class="^jetbrains-.+"][window_type=dialog] focus |
| 165 | for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0 | 173 | # for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0 |
| 174 | |||
| 166 | # Fix JRiver menus to act like real dropdown menus | 175 | # Fix JRiver menus to act like real dropdown menus |
| 167 | for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable | 176 | for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable |
| 168 | for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable | 177 | for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable |
| @@ -170,12 +179,12 @@ for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating ena | |||
| 170 | exec run-once nm-applet | 179 | exec run-once nm-applet |
| 171 | exec run-once clipit | 180 | exec run-once clipit |
| 172 | #exec run-once xbindkeys | 181 | #exec run-once xbindkeys |
| 173 | exec run-once synclient PalmDetect=1 | 182 | exec synclient PalmDetect=1 |
| 174 | exec run-once synclient HorizTwoFingerScroll=1 | 183 | exec synclient HorizTwoFingerScroll=1 |
| 175 | #exec run-once fetchmail -d 60 | 184 | #exec run-once fetchmail -d 60 |
| 176 | #exec run-once qasmixer -t | 185 | #exec run-once qasmixer -t |
| 177 | exec run-once blueman-applet | 186 | exec run-once blueman-applet |
| 178 | exec run-once run_keybase -a | 187 | exec run-once run_keybase -a |
| 179 | exec run-once feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" | 188 | exec feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" |
| 180 | exec run-once xset dpms 300 600 900 | 189 | exec xset dpms 300 600 900 |
| 181 | # exec run-once run_vmtoolsd | 190 | # exec run-once run_vmtoolsd |