Compare commits

...

2 commits

Author SHA1 Message Date
f66bb32e48
Fix minor issues 2021-09-27 23:48:34 +02:00
694557d854
Generalize qutebrowser config (add generic.py) 2021-09-27 23:46:38 +02:00
5 changed files with 40 additions and 34 deletions

View file

@ -17,23 +17,25 @@ if [[ $host_name == "portalo" ]]; then
bspc monitor $MONITOR_PRIMARY -d web terminal 3 4 5 6 focus
bspc monitor $MONITOR_SECONDARY -d side-view voip messenger
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
sleep 1
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
elif [[ $host_name == *"laptop"* ]]; then
xrandr --output $MONITOR_PRIMARY --auto
xrandr --output $MONITOR_SECONDARY --left-of $MONITOR_PRIMARY --auto
#primary="eDP-1"
#secondary="HDMI-2"
bspc monitor $MONITOR_PRIMARY -d web terminal 3 4 5 6 messenger
bspc monitor $MONITOR_SECONDARY -d side-view 9 10
bspc monitor $MONITOR_PRIMARY -d web terminal 3 4 5 6 focus messenger
bspc monitor $MONITOR_SECONDARY -d side-view 10
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
sleep 1
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
else
bspc monitor primary -d web terminal 3 4 5 6 7 8 9 10
bspc monitor primary -d web terminal 3 4 5 6 7 8 9 focus
fi
bspc desktop web --layout monocle

View file

@ -98,8 +98,8 @@ ${fs_used /} ${goto 150}root $alignr ${fs_size /}
${fs_bar 5,400 /}${voffset 5}
${fs_used /home} ${goto 150}home $alignr ${fs_size /home}
${fs_bar 5,400 /home}${voffset 5}
${fs_used /mnt/data} ${goto 150}data $alignr ${fs_size /mnt/data}
${fs_bar 5,400 /mnt/data}voffset 5}
${fs_used /mnt/games} ${goto 150}games $alignr ${fs_size /mnt/games}
${fs_bar 5,400 /mnt/games}voffset 5}
${color2}Download ${color0}${alignr}${downspeed enp0s31f6}
${downspeedgraph enp0s31f6 50,}

View file

@ -1,36 +1,13 @@
import dracula.draw
import keybindings
import generic
config.load_autoconfig()
keybindings.init(config)
generic.init(c)
c.auto_save.session = True
#c.colors.webpage.darkmode.enabled = True
#c.colors.webpage.darkmode.policy.images = 'never'
c.colors.webpage.preferred_color_scheme = 'dark'
#c.content.proxy = "socks://localhost:9050/"
#c.content.headers.accept_language = "en-IE,en;q=0.9"
c.downloads.position = 'bottom'
c.fonts.hints = 'bold 18px default_family'
c.tabs.background = True
c.tabs.mousewheel_switching = False
c.tabs.new_position.related = 'last'
c.url.start_pages = ['dashboard.serguzim.me', 'cloud.serguzim.me', 'localhost:6680/iris/']
c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'}
keybindings.init(config)
dracula.draw.blood(c, {
'spacing': {
'vertical': 1,
'horizontal': 3
}
})
import socket
if socket.gethostname() == 'portalo':

View file

@ -1,11 +1,12 @@
import keybindings
import generic
config.load_autoconfig()
keybindings.init(config)
generic.init(c)
c.tabs.show = 'never'
c.statusbar.show = 'never'
c.auto_save.session = False
c.url.start_pages = ['https://twitch.tv/']
keybindings.init(config)

View file

@ -0,0 +1,26 @@
import dracula.draw
def init(c):
#c.colors.webpage.darkmode.enabled = True
#c.colors.webpage.darkmode.policy.images = 'never'
c.colors.webpage.preferred_color_scheme = 'dark'
#c.content.proxy = "socks://localhost:9050/"
#c.content.headers.accept_language = "en-IE,en;q=0.9"
c.downloads.position = 'bottom'
c.fonts.hints = 'bold 18px default_family'
c.tabs.background = True
c.tabs.mousewheel_switching = False
c.tabs.new_position.related = 'last'
c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'}
dracula.draw.blood(c, {
'spacing': {
'vertical': 1,
'horizontal': 3
}
})