From c41a70ee19e9432b8e999f0449c5d6feb91f6e63 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Wed, 10 Oct 2018 20:03:59 -0400 Subject: [PATCH] Auto start Firefox --- i3/config | 19 +++++++++++++++++-- kitty/kitty.conf | 2 +- polybar/config | 10 +++++++++- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/i3/config b/i3/config index 84bdb9d..d665118 100644 --- a/i3/config +++ b/i3/config @@ -178,10 +178,19 @@ bindsym XF86AudioMute exec amixer set Master toggle # mute sound # Turn off trackpad bindsym $mod+Shift+u exec sh ~/.config/i3/trackpad-toggle.sh -exec --no-startup-id ~/.config/i3/trackpad-toggle.sh & +exec --no-startup-id ~/.config/i3/trackpad-toggle.sh # Start bar -exec --no-startup-id polybar -r aqua +exec --no-startup-id polybar aqua + +# Wifi bar +#exec --no-startup-id nm-applet & + +# Desktop wallpaper +exec --no-startup-id feh --bg-scale ~/Pictures/wallpaper/tysiwugztgyjajrvznfy.jpg + +# +bindsym XF86Launch1 exec xset -display :0.0 dpms force off # lockscreen bindsym $mod+Shift+h exec sh ~/.config/i3/lock.sh @@ -201,3 +210,9 @@ new_window 1pixel #new_window normal 0 px bindsym $mod+Shift+s exec scrot -b -d 5 '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Desktop/' + +# Start up programs +for_window [class="Firefox"] move to workspace $ws1 +for_window [title="emacs@*"] move to workspace $ws2 + +exec --no-startup-id "firefox" \ No newline at end of file diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 71fc5ae..f333691 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -43,6 +43,6 @@ color14 #14ffff color7 #dddddd color15 #ffffff -background_opacity 1.0 +background_opacity 0.0 dynamic_background_opacity no dim_opacity 0.75 \ No newline at end of file diff --git a/polybar/config b/polybar/config index 69a4e6a..1b490e1 100644 --- a/polybar/config +++ b/polybar/config @@ -35,7 +35,7 @@ font-2 = siji:pixelsize=10;1+e modules-left = i3 modules-center = xwindow -modules-right = backlight volume network battery date +modules-right = stocks backlight volume network battery date tray-position = right tray-padding = 2 @@ -172,6 +172,13 @@ label-connected-underline = ${colors.blue} label-disconnected = No Wifi :( label-disconnected-underline = ${colors.pink} +[module/stocks] +type = custom/script +exec = python ~/git/Stock/stocks.py +format-underline = ${colors.blue} +interval = 60 + + [settings] screenchange-reload = true ;compositing-background = xor @@ -182,3 +189,4 @@ screenchange-reload = true [global/wm] margin-top = 0 margin-bottom = 0 +