aboutsummaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
authorjason2020-04-15 15:44:03 -0600
committerjason2020-04-15 15:44:03 -0600
commit9074e75d4a770d4a0a87141e80cecaecfb3a7215 (patch)
treeaa796e0ca3646d48ba1737e2db72a55c9c583032 /i3
parent4ca8fd322960a8c64f3f43b839d88efdaf138d13 (diff)
downloaddotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.tar.gz
dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.zip
updates
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config25
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
30floating_modifier $mod 30floating_modifier $mod
31 31
32# start a terminal 32# start a terminal
33bindsym $mod+Return exec urxvt 33bindsym $mod+Return exec alacritty
34 34
35# kill focused window 35# kill focused window
36bindsym $mod+Shift+q kill 36bindsym $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)
126bindsym $mod+Shift+r restart 126bindsym $mod+Shift+r restart
127# exit i3 (logs you out of your X session) 127# exit i3 (logs you out of your X session)
128bindsym $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'" 128bindsym $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)
131mode "resize" { 131mode "resize" {
@@ -153,16 +153,25 @@ mode "resize" {
153 153
154bindsym $mod+r mode "resize" 154bindsym $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)
158bar { 162bar {
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
170for_window [class="jetbrains-idea" title="win0"] floating enable;
171# Fix dialog windows so they don't get left behind
164for_window [class="^jetbrains-.+"][window_type=dialog] focus 172for_window [class="^jetbrains-.+"][window_type=dialog] focus
165for_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
167for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable 176for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable
168for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable 177for_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
170exec run-once nm-applet 179exec run-once nm-applet
171exec run-once clipit 180exec run-once clipit
172#exec run-once xbindkeys 181#exec run-once xbindkeys
173exec run-once synclient PalmDetect=1 182exec synclient PalmDetect=1
174exec run-once synclient HorizTwoFingerScroll=1 183exec 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
177exec run-once blueman-applet 186exec run-once blueman-applet
178exec run-once run_keybase -a 187exec run-once run_keybase -a
179exec run-once feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" 188exec feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg"
180exec run-once xset dpms 300 600 900 189exec xset dpms 300 600 900
181# exec run-once run_vmtoolsd 190# exec run-once run_vmtoolsd