From abe7ebebc4b1825b821d23241f9f7ef4dbb9a338 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 5 Mar 2019 00:08:30 -0500 Subject: [PATCH] Add Dunst + Proper keyboard shortcuts --- .i3/config | 23 +++++++++-------------- .i3/i3status.conf | 10 +++++++++- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.i3/config b/.i3/config index aebe0a8..163995f 100755 --- a/.i3/config +++ b/.i3/config @@ -54,6 +54,11 @@ bindsym Control+space exec rofi -show combi -modi combi -lines 7 -eh 2 -width 10 # installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# Print Screen / ScreenShot +bindsym $Mod+Shift+Print exec scrot $HOME/Pictures/ScreenShoots/`date +%Y-%m-%d_%H:%M:%S`.png #FullScreen +bindsym $Mod+Print exec scrot -u $HOME/Pictures/ScreenShoots/`date +%Y-%m-%d_%H:%M:%S`.png #Active Window +bindsym --release Print exec scrot -s $HOME/Pictures/ScreenShoots/`date +%Y-%m-%d_%H:%M:%S`.png #Selection + # Pulse Audio controls ## requires alsa-utils pulseaudio #bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% pactl -- set-sink-volume 12 +5% #increase sound volume @@ -160,7 +165,7 @@ bindsym $mod+Shift+period exec "i3-nagbar -t warning -m 'You pressed the exit sh ## Lock the screen #bindsym Control+Mod1+l exec i3lock --fuzzy -bindsym Control+Mod1+l exec /home/ahosking/.i3/i3lock-fancy-multimonitor/lock +bindsym $Mod+l exec /home/ahosking/.i3/i3lock-fancy-multimonitor/lock # resize window (you can also use the mouse for that) mode "resize" { @@ -193,12 +198,7 @@ for_window [class="KeePassX"] floating enable #for_window [class="Trello"] floating enable; resize shrink width 10000px; resize grow width 400px; resize shrink height 10000px; resize grow height 800px; #for_window [title="Log in to Trello"] floating enable; resize shrink width 10000px; resize grow width 400px; resize shrink height 10000px; resize grow height 800px; -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -## bar { -## status_command i3status -## tray_output primary -## } + ## Start i3bar to display a workspace bar (plus the system information i3status ## finds out, if available) bar { @@ -217,14 +217,9 @@ bar { # i3bar position position top # Using custom i3status.conf - status_command i3status -c ~/.i3/i3status.conf - #status_command i3blocks -c ~/.i3/i3blocks.conf + #status_command i3status -c ~/.i3/i3status.conf + status_command /usr/local/bin/py3status -c ~/.i3/i3status.conf } -#bar { -# position top -# status_command i3blocks -c ~/.i3/i3blocks.conf -#} -# #Make Floating Windows not be mini floating_minimum_size 400 x 300 diff --git a/.i3/i3status.conf b/.i3/i3status.conf index 0c9cc55..560e815 100755 --- a/.i3/i3status.conf +++ b/.i3/i3status.conf @@ -9,6 +9,7 @@ general { colors = true interval = 5 + output_format = "i3bar" } #order += "ipv6" @@ -64,7 +65,8 @@ run_watch VPN { tztime local { #format = "%Y-%m-%d %H:%M:%S" - format = "%b-%d %H:%M" + format = " %b-%d %H:%M" + #on_click 1 = "exec orange" } load { @@ -88,3 +90,9 @@ volume PCH { device = "hw:1" mixer = "Master" } + +#external_script_notification { +# script_path = "~/bin/notification_state" +# strip_output = True +# cache_timeout = 30 +#}