This commit is contained in:
Yuri Zamyatin 2025-01-09 21:23:28 +00:00
parent 1831753e19
commit e97d5b522b
3 changed files with 12 additions and 8 deletions

View File

@ -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'])

View File

@ -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
############################################

View File

@ -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() {