aboutsummaryrefslogtreecommitdiff
path: root/des/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--des/i3/config27
1 files changed, 15 insertions, 12 deletions
diff --git a/des/i3/config b/des/i3/config
index 961e1e2..56d9bab 100644
--- a/des/i3/config
+++ b/des/i3/config
@@ -27,21 +27,24 @@ exec --no-startup-id dunst
bindsym $mod+F12 exec --no-startup-id /usr/bin/dunstctl close
bindsym $mod+Shift+F12 exec --no-startup-id /usr/bin/dunstctl history-pop
-# Order monitors
-exec --no-startup-id xrandr --output DVI-D-0 --auto --output HDMI-0 --auto --left-of DVI-D-0
+# Detect Monitors
+exec --no-startup-id autorandr --change
# Background
-exec --no-startup-id feh --bg-fill ~/.setup/des/i3/assets/wallpaper/yosemite_color_block.png
+exec --no-startup-id feh --bg-fill ~/.mycfg/des/i3/assets/wallpaper/yosemite_color_block.png
# Change background randomly
-bindsym $mod+F8 exec --no-startup-id feh --bg-fill --randomize ~/.setup/des/i3/assets/wallpaper
+bindsym $mod+F8 exec --no-startup-id feh --bg-fill --randomize ~/.mycfg/des/i3/assets/wallpaper
+
+# Toggle VPN or Proxy
+bindsym $mod+F4 exec --no-startup-id ~/.mycfg/scripts/toggle-xray.sh
# Compositor
exec --no-startup-id compton --config ~/.config/compton.conf -b
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
-exec --no-startup-id xss-lock --transfer-sleep-lock "~/.setup/des/i3/i3lock-color-custom.sh"
+exec --no-startup-id xss-lock --transfer-sleep-lock "~/.mycfg/des/i3/i3lock-color-custom.sh"
## Allow yad to float for i3bar calendar
for_window [class="Yad"] floating enable
@@ -63,10 +66,10 @@ bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 1%- && pkil
# Take a screenshot
bindsym --release $mod+F3 exec --no-startup-id "/usr/bin/import ~/workspace/scratch/screenshots/latest.png && cp ~/workspace/scratch/screenshots/latest.png ~/workspace/scratch/screenshots/$(date +%F_%T.%N).png"
-# Use change_fan (int .setup dir) to adjust fan speeds
+# Use change_fan (int .mycfg dir) to adjust fan speeds
# TBD
-# Use format_displays (in .setup dir) to configure external displays
+# Use format_displays (in .mycfg dir) to configure external displays
bindsym XF86LaunchA exec --no-startup-id format_displays
# Use Mouse+$mod to drag floating windows to their wanted position
@@ -84,11 +87,11 @@ bindsym $mod+q kill
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+space exec --no-startup-id i3-dmenu-desktop
-bindsym $mod+space exec --no-startup-id rofi -show drun -theme ~/.setup/theme.rasi
-bindsym $mod+Tab exec --no-startup-id rofi -show window -theme ~/.setup/theme.rasi
+bindsym $mod+space exec --no-startup-id rofi -show drun -theme ~/.mycfg/theme.rasi
+bindsym $mod+Tab exec --no-startup-id rofi -show window -theme ~/.mycfg/theme.rasi
# Lock screen
-bindsym $mod+F9 exec --no-startup-id "~/.setup/des/i3/i3lock-color-custom.sh"
+bindsym $mod+F9 exec --no-startup-id "~/.mycfg/des/i3/i3lock-color-custom.sh"
# change focus
bindsym $mod+h focus left
@@ -154,8 +157,8 @@ set $ws9 "9"
set $ws10 "10"
## AD2 Specific
-workspace $ws1 output HDMI-0
-workspace $ws2 output DVI-D-0
+workspace $ws1 output eDP-1
+workspace $ws2 output DP-3
# # switch to monitor
# bindsym $mod+Mod1+1 focus output eDP-1