diff --git a/arch-user/config/qutebrowser/config.py.tmpl b/arch-user/config/qutebrowser/config.py.tmpl index a68b3cc..20eb8f6 100644 --- a/arch-user/config/qutebrowser/config.py.tmpl +++ b/arch-user/config/qutebrowser/config.py.tmpl @@ -15,7 +15,8 @@ config.set('colors.webpage.bg','#$THEME_COLOR_BG') config.set('fonts.default_family','Roboto') # engines config.set('url.searchengines', { - 'DEFAULT': 'https://lite.duckduckgo.com/lite?&q={}' + 'DEFAULT': 'https://lite.duckduckgo.com/lite?&q={}', + '!g': 'https://google.com/search?hl=en&q={}', }) -config.set('url.default_page', 'file:///home/yrzam/.local/share/qutebrowser/start.html') -config.set('url.start_pages', ['file:///home/yrzam/.local/share/qutebrowser/start.html']) +config.set('url.default_page', 'file:///home/$USER/.local/share/qutebrowser/start.html') +config.set('url.start_pages', ['file:///home/$USER/.local/share/qutebrowser/start.html']) diff --git a/arch-user/config/sway/config.tmpl b/arch-user/config/sway/config.tmpl index 21b19a2..021afa2 100644 --- a/arch-user/config/sway/config.tmpl +++ b/arch-user/config/sway/config.tmpl @@ -2,6 +2,7 @@ set $mod Mod4 set $altmod Mod4+Mod5 +set $altmod2 Mod4+Shift set $fwd m set $left n set $up e @@ -85,10 +86,10 @@ bindsym --to-code $altmod+$left move left 40px bindsym --to-code $altmod+$up move up 40px bindsym --to-code $altmod+$down move down 40px bindsym --to-code $altmod+$right move right 40px -bindsym --to-code $mod+Shift+$left resize shrink width 2ppt or 40px -bindsym --to-code $mod+Shift+$up resize shrink height 4ppt or 40px -bindsym --to-code $mod+Shift+$down resize grow height 4ppt or 40px -bindsym --to-code $mod+Shift+$right resize grow width 2ppt or 40px +bindsym --to-code $altmod2+$left resize shrink width 2ppt or 40px +bindsym --to-code $altmod2+$up resize shrink height 4ppt or 40px +bindsym --to-code $altmod2+$down resize grow height 4ppt or 40px +bindsym --to-code $altmod2+$right resize grow width 2ppt or 40px # bottom row - modeless, extra focus floating_modifier $mod normal bindsym --to-code $altmod+x move scratchpad @@ -97,6 +98,8 @@ bindsym --to-code $altmod+z floating toggle bindsym --to-code $mod+z focus mode_toggle bindsym --to-code $mod+k focus prev sibling bindsym --to-code $mod+h sticky toggle +bindsym --to-code $mod+Comma opacity minus 0.1 +bindsym --to-code $mod+Period opacity plus 0.1 bindsym --to-code $mod+slash focus next sibling ############################################ diff --git a/arch-user/install.sh b/arch-user/install.sh index 67dde8c..6a25c32 100644 --- a/arch-user/install.sh +++ b/arch-user/install.sh @@ -22,7 +22,7 @@ cp -rf bin/* ~/.local/bin ########### config ############# source config/theme.sh VARS=$(printenv | \ - grep -E 'THEME_.*' | \ + grep -E '^(THEME_.\w+)|(USER)=' | \ sed -e 's/[= ].*//g' | sed -e 's/^/\$/' | tr '\n' ' ' ) cp_subst() {