diff --git a/fluxbox/apps b/fluxbox/apps new file mode 100644 index 0000000..b7e9e0a --- /dev/null +++ b/fluxbox/apps @@ -0,0 +1,22 @@ +[app] (name=fbrun) + [Position] (CENTER) {0 0} + [Layer] {2} +[end] +[app] (name=konsole) + [Alpha] {217} +[end] +[app] (name=acme) + [Alpha] {217} +[end] +[app] (name=urxvt) + [Alpha] {217} +[end] +[app] (name=Alacritty) (class=Alacritty) + [Alpha] {217} +[end] +[app] (name=kate) (class=kate) (role=MainWindow#1) + [Alpha] {217} +[end] +[app] (class=Tint2) + [Alpha] {217} +[end] diff --git a/fluxbox/fbrun_history b/fluxbox/fbrun_history new file mode 100644 index 0000000..e69de29 diff --git a/fluxbox/init b/fluxbox/init new file mode 100644 index 0000000..90b166d --- /dev/null +++ b/fluxbox/init @@ -0,0 +1,89 @@ +session.screen0.slit.maxOver: false +session.screen0.slit.acceptKdeDockapps: true +session.screen0.slit.placement: TopCenter +session.screen0.slit.alpha: 217 +session.screen0.slit.autoHide: false +session.screen0.slit.onhead: 0 +session.screen0.slit.layer: AboveDock +session.screen0.slit.autoRaise: false +session.screen0.tab.placement: TopLeft +session.screen0.tab.width: 64 +session.screen0.iconbar.iconWidth: 300 +session.screen0.iconbar.usePixmap: false +session.screen0.iconbar.mode: {static groups} (workspace) +session.screen0.iconbar.alignment: Left +session.screen0.iconbar.iconTextPadding: 10 +session.screen0.menu.alpha: 255 +session.screen0.systray.pinLeft: +session.screen0.systray.pinRight: +session.screen0.titlebar.left: +session.screen0.titlebar.right: Minimize Close +session.screen0.tabs.usePixmap: false +session.screen0.tabs.maxOver: false +session.screen0.tabs.intitlebar: true +session.screen0.toolbar.autoHide: true +session.screen0.toolbar.widthPercent: 100 +session.screen0.toolbar.tools: +session.screen0.toolbar.onhead: 1 +session.screen0.toolbar.visible: false +session.screen0.toolbar.layer: Dock +session.screen0.toolbar.maxOver: false +session.screen0.toolbar.placement: TopCenter +session.screen0.toolbar.alpha: 217 +session.screen0.toolbar.height: 0 +session.screen0.toolbar.autoRaise: false +session.screen0.window.focus.alpha: 255 +session.screen0.window.unfocus.alpha: 255 +session.screen0.clientMenu.usePixmap: false +session.screen0.workspacewarpinghorizontaloffset: 1 +session.screen0.colPlacementDirection: TopToBottom +session.screen0.fullMaximization: false +session.screen0.rowPlacementDirection: LeftToRight +session.screen0.workspaceWarpingVertical: false +session.screen0.windowMenu: /home/nilix/.fluxbox/windowmenu +session.screen0.windowPlacement: RowMinOverlapPlacement +session.screen0.tooltipDelay: 500 +session.screen0.clickRaises: true +session.screen0.noFocusWhileTypingDelay: 0 +session.screen0.workspacewarpinghorizontal: true +session.screen0.strftimeFormat: %Y-%m-%d | %H:%M +session.screen0.maxDisableResize: false +session.screen0.tabFocusModel: ClickToTabFocus +session.screen0.maxDisableMove: false +session.screen0.demandsAttentionTimeout: 500 +session.screen0.maxIgnoreIncrement: true +session.screen0.autoRaise: true +session.screen0.opaqueResize: false +session.screen0.workspaces: 6 +session.screen0.allowRemoteActions: false +session.screen0.showwindowposition: false +session.screen0.menuDelay: 200 +session.screen0.workspacewarping: true +session.screen0.workspaceNames: @-----,-@----,--@---,---@--,----@-,-----@, +session.screen0.focusNewWindows: true +session.screen0.defaultDeco: NORMAL +session.screen0.edgeResizeSnapThreshold: 0 +session.screen0.workspacewarpingvertical: false +session.screen0.workspacewarpingverticaloffset: 1 +session.screen0.focusModel: ClickFocus +session.screen0.opaqueResizeDelay: 50 +session.screen0.edgeSnapThreshold: 10 +session.screen0.opaqueMove: true +session.screen0.focusSameHead: false +session.autoRaiseDelay: 250 +session.doubleClickInterval: 250 +session.menuSearch: itemstart +session.styleFile: /home/nilix/.fluxbox/styles/abyss +session.styleOverlay: /home/nilix/.fluxbox/overlay +session.cacheLife: 5 +session.keyFile: ~/.fluxbox/keys +session.slitlistFile: /home/nilix/.fluxbox/slitlist +session.colorsPerChannel: 4 +session.ignoreBorder: false +session.tabPadding: 0 +session.appsFile: /home/nilix/.fluxbox/apps +session.cacheMax: 200 +session.menuFile: ~/.fluxbox/usermenu +session.forcePseudoTransparency: false +session.configVersion: 13 +session.tabsAttachArea: Window diff --git a/fluxbox/keys b/fluxbox/keys new file mode 100644 index 0000000..06a77ad --- /dev/null +++ b/fluxbox/keys @@ -0,0 +1,115 @@ +# click on the desktop to get menus +OnDesktop Mouse1 :HideMenus +OnDesktop Mouse2 :WorkspaceMenu +OnDesktop Mouse3 :RootMenu + +# scroll on the desktop to change workspaces +OnDesktop Mouse4 :PrevWorkspace +OnDesktop Mouse5 :NextWorkspace + +# scroll on the toolbar to change current window +OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no) +OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no) + +# alt + left/right click to move/resize a window +OnWindowBorder Move1 :StartMoving + + +OnLeftGrip Move1 :StartResizing bottomleft +OnRightGrip Move1 :StartResizing bottomright + +# alt + middle click to lower the window +OnWindow Mod1 Mouse2 :Lower + +# control-click a window's titlebar and drag to attach windows +OnTitlebar Control Mouse1 :StartTabbing +OnTitlebar Mouse4 :Shade +OnTitlebar Mouse5 :Shade + +# double click on the titlebar to shade +OnTitlebar Double Mouse1 :Maximize + +# left click on the titlebar to move the window +OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} +OnTitlebar Move1 :StartMoving + +# middle click on the titlebar to lower +OnTitlebar Mouse2 :Shade + +# right click on the titlebar for a menu of options +OnTitlebar Mouse3 :WindowMenu + +# alt-tab +Mod1 Tab :NextWindow {static groups} (workspace=[current]) (minimized=no) +Mod1 Shift Tab :PrevWindow {static groups} (workspace=[current]) (minimized=no) + +# cycle through tabs in the current window +Mod4 Tab :NextTab +Mod4 Shift Tab :PrevTab + +# go to a specific tab in the current window +Mod4 1 :Tab 1 +Mod4 2 :Tab 2 +Mod4 3 :Tab 3 +Mod4 4 :Tab 4 +Mod4 5 :Tab 5 +Mod4 6 :Tab 6 +Mod4 7 :Tab 7 +Mod4 8 :Tab 8 +Mod4 9 :Tab 9 + +# open a terminal +Mod4 slash :Exec alacritty + +# center active window +Mod4 c :MacroCmd {ResizeTo 60% 100%} {MoveTo 20% 0%} +Mod4 Shift c :MacroCmd {ResizeTo 60% 60%} {MoveTo 20% 20%} +# quarter tiling +Mod4 h :MacroCmd {ResizeTo 50% 100%} {MoveTo 0% 0%} +Mod4 j :MacroCmd {ResizeTo 100% 50%} {MoveTo 0% 50%} +Mod4 k :MacroCmd {ResizeTo 100% 50%} {MoveTo 0% 0%} +Mod4 l :MacroCmd {ResizeTo 50% 100%} {MoveTo 50% 0%} +Mod4 q :MacroCmd {ResizeTo 50% 50%} {MoveTo 0% 0%} +Mod4 w :MacroCmd {ResizeTo 50% 50%} {MoveTo 0% 50%} +Mod4 o :MacroCmd {ResizeTo 50% 50%} {MoveTo 50% 50%} +Mod4 p :MacroCmd {ResizeTo 50% 50%} {MoveTo 50% 0%} + +# open a dialog to run programs +Mod1 space :Exec /home/nilix/bin/9/dmenu_exe + +# volume settings, using common keycodes +# if these don't work, use xev to find out your real keycodes +123 :Exec ~/src/zenUtils/xtraKeys.sh v u +122 :Exec ~/src/zenUtils/xtraKeys.sh v d +121 :Exec ~/src/zenUtils/xtraKeys.sh v m +198 :Exec ~/src/zenUtils/xtraKeys.sh v mm +232 :Exec ~/src/zenUtils/xtraKeys.sh b d +233 :Exec ~/src/zenUtils/xtraKeys.sh b u + +# current window commands +Mod4 d :Close +Mod4 Shift d :Kill +Mod4 i :Minimize +Mod4 m :Maximize +Mod4 f :Fullscreen +Mod4 s :Stick +Mod4 u :Deiconify +OnWindow Mod4 Mouse1 :StartMoving +OnWindow Mod4 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing} +# open the window menu +# Mod4 space :WindowMenu + +# change to previous/next workspace +Mod4 Left :PrevWorkspace +Mod4 Right :NextWorkspace + +# send the current window and follow it to previous/next workspace +Mod4 Shift Left :TakeToPrevWorkspace +Mod4 Shift Right :TakeToNextWorkspace + +# lock screen +Mod4 Escape :Exec slock + +# zenUtils +Control Mod1 BackSpace :Exec sudo ~/src/zenUtils/logout.sh -p +Mod4 F1 :Exec ~/src/zenUtils/nmtuiWin.sh diff --git a/fluxbox/lastwallpaper b/fluxbox/lastwallpaper new file mode 100644 index 0000000..0db4c13 --- /dev/null +++ b/fluxbox/lastwallpaper @@ -0,0 +1 @@ +fbsetroot|-foreground #1C232E -background #12233F -gradient flatgradientelliptic|style|:0.0 diff --git a/fluxbox/menu b/fluxbox/menu new file mode 100644 index 0000000..35a2ce4 --- /dev/null +++ b/fluxbox/menu @@ -0,0 +1,16 @@ +[begin] () +[encoding] {UTF-8} + [exec] (New) {/home/nilix/bin/riosh/rio.sh new} + [exec] (Reshape) {/home/nilix/bin/riosh/rio.sh reshape} + [exec] (Move) {/home/nilix/bin/riosh/rio.sh move} + [exec] (Delete) {/home/nilix/bin/riosh/rio.sh delete} + [exec] (Hide) {/home/nilix/bin/riosh/rio.sh hide} + [separator] + [workspaces] (virtuals) + [separator] + [reconfig] (reload) + [restart] (restart) + [exit] (exit) + [end] +[endencoding] +[end] diff --git a/fluxbox/overlay b/fluxbox/overlay new file mode 100644 index 0000000..bb4e91c --- /dev/null +++ b/fluxbox/overlay @@ -0,0 +1,2 @@ +! The following line will prevent styles from setting the background. +! background: none diff --git a/fluxbox/slitlist b/fluxbox/slitlist new file mode 100644 index 0000000..aadbb50 --- /dev/null +++ b/fluxbox/slitlist @@ -0,0 +1 @@ +tint2 diff --git a/fluxbox/startup b/fluxbox/startup new file mode 100644 index 0000000..606a21c --- /dev/null +++ b/fluxbox/startup @@ -0,0 +1,25 @@ +#!/bin/sh + +xset -b & + +if ! pgrep pipewire; then + pipewire & sleep 0.3 + pipewire-pulse & +fi + +if ! pgrep sirius.sh; then + ~/src/zenUtils/sirius.sh & +fi + +case $(~/src/zenUtils/extdisplay.sh status) in + "connected") + ~/src/zenUtils/extdisplay.sh solo;; + *) + :;; +esac + +nitrogen --restore & +tint2 & +xcompmgr & + +exec fluxbox diff --git a/fluxbox/styles/abyss/close-i.png b/fluxbox/styles/abyss/close-i.png new file mode 100644 index 0000000..6698613 Binary files /dev/null and b/fluxbox/styles/abyss/close-i.png differ diff --git a/fluxbox/styles/abyss/close-p.png b/fluxbox/styles/abyss/close-p.png new file mode 100644 index 0000000..e22f76a Binary files /dev/null and b/fluxbox/styles/abyss/close-p.png differ diff --git a/fluxbox/styles/abyss/close.png b/fluxbox/styles/abyss/close.png new file mode 100644 index 0000000..d2b4b70 Binary files /dev/null and b/fluxbox/styles/abyss/close.png differ diff --git a/fluxbox/styles/abyss/desk-i.png b/fluxbox/styles/abyss/desk-i.png new file mode 100644 index 0000000..bdd04ef Binary files /dev/null and b/fluxbox/styles/abyss/desk-i.png differ diff --git a/fluxbox/styles/abyss/desk-p.png b/fluxbox/styles/abyss/desk-p.png new file mode 100644 index 0000000..e29df92 Binary files /dev/null and b/fluxbox/styles/abyss/desk-p.png differ diff --git a/fluxbox/styles/abyss/desk-t.png b/fluxbox/styles/abyss/desk-t.png new file mode 100644 index 0000000..9bbaafb Binary files /dev/null and b/fluxbox/styles/abyss/desk-t.png differ diff --git a/fluxbox/styles/abyss/desk.png b/fluxbox/styles/abyss/desk.png new file mode 100644 index 0000000..9563b12 Binary files /dev/null and b/fluxbox/styles/abyss/desk.png differ diff --git a/fluxbox/styles/abyss/iconify-i.png b/fluxbox/styles/abyss/iconify-i.png new file mode 100644 index 0000000..33a107f Binary files /dev/null and b/fluxbox/styles/abyss/iconify-i.png differ diff --git a/fluxbox/styles/abyss/iconify-p.png b/fluxbox/styles/abyss/iconify-p.png new file mode 100644 index 0000000..9b0a173 Binary files /dev/null and b/fluxbox/styles/abyss/iconify-p.png differ diff --git a/fluxbox/styles/abyss/iconify.png b/fluxbox/styles/abyss/iconify.png new file mode 100644 index 0000000..0dd436d Binary files /dev/null and b/fluxbox/styles/abyss/iconify.png differ diff --git a/fluxbox/styles/abyss/max-i.png b/fluxbox/styles/abyss/max-i.png new file mode 100644 index 0000000..1c7e999 Binary files /dev/null and b/fluxbox/styles/abyss/max-i.png differ diff --git a/fluxbox/styles/abyss/max-p.png b/fluxbox/styles/abyss/max-p.png new file mode 100644 index 0000000..7e30a56 Binary files /dev/null and b/fluxbox/styles/abyss/max-p.png differ diff --git a/fluxbox/styles/abyss/max.png b/fluxbox/styles/abyss/max.png new file mode 100644 index 0000000..f2c8d52 Binary files /dev/null and b/fluxbox/styles/abyss/max.png differ diff --git a/fluxbox/styles/abyss/shade-i.png b/fluxbox/styles/abyss/shade-i.png new file mode 100644 index 0000000..701626d Binary files /dev/null and b/fluxbox/styles/abyss/shade-i.png differ diff --git a/fluxbox/styles/abyss/shade-p.png b/fluxbox/styles/abyss/shade-p.png new file mode 100644 index 0000000..652dd3c Binary files /dev/null and b/fluxbox/styles/abyss/shade-p.png differ diff --git a/fluxbox/styles/abyss/shade-t.png b/fluxbox/styles/abyss/shade-t.png new file mode 100644 index 0000000..4f48d2f Binary files /dev/null and b/fluxbox/styles/abyss/shade-t.png differ diff --git a/fluxbox/styles/abyss/shade.png b/fluxbox/styles/abyss/shade.png new file mode 100644 index 0000000..a70be43 Binary files /dev/null and b/fluxbox/styles/abyss/shade.png differ diff --git a/fluxbox/styles/abyss/taskbutton.png b/fluxbox/styles/abyss/taskbutton.png new file mode 100644 index 0000000..debe7fd Binary files /dev/null and b/fluxbox/styles/abyss/taskbutton.png differ diff --git a/fluxbox/styles/abyss/theme.cfg b/fluxbox/styles/abyss/theme.cfg new file mode 100644 index 0000000..8d0b7a8 --- /dev/null +++ b/fluxbox/styles/abyss/theme.cfg @@ -0,0 +1,155 @@ +# ABYSS fluxbox theme +# nilix@nilfm.cc +# 2021-11-14 + +############################################################## FONTS ########## + +menu.frame.font: literation sans nerd font-9 +menu.title.font: literation sans nerd font-9 +toolbar.clock.font: sauce code pro nerd font-9 +toolbar.workspace.font: sauce code pro nerd font-9 +toolbar.iconbar.focused.font: literation sans nerd font-9 +toolbar.iconbar.unfocused.font: literation sans nerd font-9 +window.font: literation sans nerd font-9 + +############################################################## MENU ########### + +menu.bevelWidth: 0 + +menu.titleHeight: 1 +menu.borderColor: #000000 +menu.borderWidth: 0 + +menu.bullet: triangle +menu.bullet.position: Right + +menu.title: flat +menu.title.justify: center +menu.title.color: #000000 +menu.title.textColor: #c9c9c9 + +menu.frame: flat +menu.frame.justify: left +menu.frame.color: #000000 +menu.frame.textColor: #c9c9c9 +menu.frame.disableColor: #7f7f7f + +menu.hilite: flat +menu.hilite.color: #1f9b92 +menu.hilite.textColor: #000000 + +############################################################## TOOLBAR ######## + +toolbar.bevelWidth: 0 + +toolbar.borderWidth: 0 +toolbar.borderColor: #000f19 + +toolbar.height: 24 + +toolbar.justify: center + +toolbar: flat +toolbar.pixmap: +toolbar.color: #000f19 +toolbar.clock: flat +toolbar.clock.justify: center +toolbar.clock.color: #000f19 +toolbar.clock.textColor: #c9c9c9 + +toolbar.workspace: flat +toolbar.workspace.justify: Center +toolbar.workspace.color: #000f19 +toolbar.workspace.textColor: #c9c9c9 + +toolbar.button: flat +toolbar.button.color: #000f19 +toolbar.button.picColor: #c9c9c9 +toolbar.button.pressed: flat +toolbar.button.pressed.color: #1f9b92 +toolbar.button.pressed.picColor: #000f19 + +toolbar.iconbar.empty: flat +toolbar.iconbar.empty.color: #000f19 + +toolbar.iconbar.focused.borderWidth: 0 +!toolbar.iconbar.focused.borderColor: #1f9b92 +toolbar.iconbar.focused: pixmap +!toolbar.iconbar.focused.color: #000000 +toolbar.iconbar.focused.pixmap: taskbutton.png +toolbar.iconbar.focused.textColor: #ffffff +toolbar.iconbar.focused.justify: left + +toolbar.iconbar.unfocused.borderWidth: 0 +toolbar.iconbar.unfocused: flat +toolbar.iconbar.unfocused.color: #000f19 +toolbar.iconbar.unfocused.textColor: #797979 +toolbar.iconbar.unfocused.justify: left + +############################################################## WINDOW ######### + +window.bevelWidth: 0 +window.focus.borderWidth: 1 +window.unfocus.borderWidth: 1 +window.focus.borderColor: #1f9b92 +window.unfocus.borderColor: #000000 + +window.justify: Center + +window.title.height: 16 + +window.title.focus: flat +window.title.focus.color: #000000 +window.title.unfocus: flat +window.title.unfocus.color: #000000 + +window.label.focus: flat +window.label.focus.color: #000000 +window.label.focus.textColor: #c9c9c9 +window.label.unfocus: flat +window.label.unfocus.color: #000000 +window.label.unfocus.textColor: #797979 + +window.button.focus: flat +window.button.focus.color: #000000 +window.button.focus.picColor: #c9c9c9 +window.button.unfocus: flat +window.button.unfocus.Color: #000000 +window.button.unfocus.picColor: #797979 +window.button.pressed: flat +window.button.pressed.color: #000000 +window.button.pressed.picColor: #ffffff + +window.iconify.pixmap: iconify.png +window.close.pixmap: close.png +window.maximize.pixmap: max.png +window.shade.pixmap: shade.png +window.stick.pixmap: desk.png + +window.stuck.pixmap: desk-t.png +window.maximized.pixmap: max-p.png +window.unshade.pixmap: shade-t.png +window.unshade.unfocus.pixmap: shade-t.png + +window.iconify.unfocus.pixmap: iconify-i.png +window.close.unfocus.pixmap: close-i.png +window.maximize.unfocus.pixmap: max-i.png +window.shade.unfocus.pixmap: shade-i.png +window.stick.unfocus.pixmap: desk-i.png + +window.iconify.pressed.pixmap: iconify-p.png +window.close.pressed.pixmap: close-p.png +window.maximize.pressed.pixmap: max-p.png +window.shade.pressed.pixmap: shade-p.png +window.stick.pressed.pixmap: desk-p.png + +window.handle.focus: flat +window.handle.focus.color: #000000 +window.handle.unfocus: flat +window.handle.unfocus.color: #000000 +window.handleWidth: 0 + +window.grip.focus: flat +window.grip.focus.color: #000000 +window.grip.unfocus: flat +window.grip.unfocus.color: #000000 diff --git a/fluxbox/styles/abyss/window.png b/fluxbox/styles/abyss/window.png new file mode 100644 index 0000000..2ba67ea Binary files /dev/null and b/fluxbox/styles/abyss/window.png differ diff --git a/fluxbox/usermenu b/fluxbox/usermenu new file mode 100644 index 0000000..fad202f --- /dev/null +++ b/fluxbox/usermenu @@ -0,0 +1,17 @@ +[begin] () +[encoding] {UTF-8} + [exec] (New) {/home/nilix/bin/riosh/rio.sh new} + [exec] (Reshape) {/home/nilix/bin/riosh/rio.sh resize} + [exec] (Delete) {/home/nilix/bin/riosh/rio.sh delete} + [exec] (Hide) {/home/nilix/bin/riosh/rio.sh hide} + [separator] + [submenu](config) + [exec] (wallpaper) {nitrogen} + [exec] (network) {~/src/zenUtils/nmtuiWin.sh} + [restart] (reload) + [end] + [separator] + [exec] (Logout) {sudo /home/nilix/src/zenUtils/logout.sh -p} + [end] +[endencoding] +[end] diff --git a/fluxbox/windowmenu b/fluxbox/windowmenu new file mode 100644 index 0000000..d867b64 --- /dev/null +++ b/fluxbox/windowmenu @@ -0,0 +1,15 @@ +[begin] + [shade] + [stick] + [maximize] + [iconify] + [raise] + [lower] + [settitledialog] + [sendto] + [layer] + [alpha] + [extramenus] + [separator] + [close] +[end] diff --git a/kshrc b/kshrc index 4493c09..141cef7 100644 --- a/kshrc +++ b/kshrc @@ -7,25 +7,6 @@ indicator() fi } -export WINIT_X11_SCALE_FACTOR=1 -export GTK_THEME=steppenwolf-dark -export GPG_TTY=$(tty) -export VISUAL=micro -export EDITOR=micro -export BROWSER=qutebrowser -export MICRO_TRUECOLOR=1 -export GOPATH=~/src/go -export ZEIT_DB=~/.zeit/db -export DOTNET_ROOT=${HOME}/bin/dotnet -export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 -export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 -if [ "$TERM" = "dumb" ]; then - PS1='$(indicator) ' -else - PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' -fi -bind -m '^L'='^C'clear'^J' - silence() { "$@" > /dev/null & exit @@ -36,13 +17,6 @@ search() $BROWSER https://duckduckgo.com/?q="$*" > /dev/null & exit } -acmeInit() -{ - export tabstop=2 - acme -aib -f /mnt/font/SauceCodeProNerdFontComplete-Regular/9a/font & - exit -} - sshmount() { sshfs $1 $2 @@ -145,7 +119,7 @@ siroonian() auth) kinit dstevens;; desktop) - rdesktop -u dstevens -d siroonian.local -p - -KMz -x m -r sound:local -r clipboard:PRIMARYCLIPBOARD devworkstation3.siroonian.local;; + xfreerdp /u:siroonian\\dstevens +bitmap-cache -grab-keyboard -wallpaper /audio-mode:local /dynamic-resolution +clipboard /v:devworkstation3.siroonian.local;; *) echo "usage: siroonian [connect | auth | desktop]";; esac @@ -201,18 +175,34 @@ today(){ } mode(){ - case $1 in - desktop) - ~/src/zenUtils/extdisplay.sh solo - sed -i -e "s/size: 6.5/size: 9/" ~/.config/alacritty-ryudo.yml - ;; - laptop) - ~/src/zenUtils/extdisplay.sh off - sed -i -e "s/size: 9/size: 6.5/" ~/.config/alacritty-ryudo.yml - ;; - esac - nitrogen --restore - killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 & + hasPanel=0 + if [ ! -z "$1" ]; then + if pgrep tint2; then + hasPanel=1 + killall tint2 + fi + case $1 in + desktop) + ~/src/zenUtils/extdisplay.sh solo + ;; + laptop) + ~/src/zenUtils/extdisplay.sh off + xrandr --dpi 96 + ;; + dualleft) + ~/src/zenUtils/extdisplay.sh left-of + ;; + dualright) + ~/src/zenUtils/extdisplay.sh right-of + esac + nitrogen --restore + if pgrep ryudo; then + killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 & + fi + if [ ${hasPanel} -eq 1 ]; then + tint2 & + fi + fi } mkthumb() { @@ -224,6 +214,64 @@ mkthumb() { convert $1 -strip -auto-orient -resize ${size} -dither FloydSteinberg -colors 16 $1.thumb.png } +init-otp() { + if [ -z "$2" ]; then + : + else + case $1 in + insert) + op=insert;; + append) + op=append;; + esac + fi + + if [ ! -z "${op}" ]; then + scrot -s .tmpQR.png + zbarimg --raw -q .tmpQR.png | pass otp ${op} $2 + shred .tmpQR.png + rm .tmpQR.png + else + echo "usage: init-otp ( insert | append ) STORE" + fi +} + +dreadlock() { + cmd=$1 + shift + $cmd "$@" | nobs +} + +export WINIT_X11_SCALE_FACTOR=1 +export LC_ALL=en_US.UTF-8 +export GPG_TTY=$(tty) +export VISUAL=micro +export EDITOR=micro +export BROWSER=qutebrowser +export GTK_THEME=steppenwolf-dark +export MICRO_TRUECOLOR=1 +export GOPATH=~/src/go +export GOPROXY=on +export ZEIT_DB=~/.zeit/db +export DOTNET_ROOT=${HOME}/bin/dotnet +export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 +export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 +if [ "$TERM" = "dumb" ]; then + PS1='$(indicator) ' + export PINENTRY_USER_DATA=tty + alias node='dreadlock node' + alias git='dreadlock git' + export EDITOR=E + export VISUAL=E +else + PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' + export PINENTRY_USER_DATA=curses +fi +bind -m '^L'='^C'clear'^J' + +silence() + + alias alsamixer='alsamixer --no-color' alias web='silence $BROWSER' alias mail='silence thunderbird' @@ -235,10 +283,24 @@ alias gpg='gpg2' alias zoom='flatpak --device=all --filesystem=host run us.zoom.Zoom' alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams' alias micro='microCmd' -alias mutt='export PINENTRY_USER_DATA=curses; echo -ne "\033]0;neomutt\007"; neomutt' alias startx='exec startx' +alias mutt='echo -ne "\033]0;neomutt\007"; neomutt' # alias mpv='mpv --player-operation-mode=pseudo-gui --term-osd=force --cover-art-files=/home/nilix/lib/img/ux/sound_only.png' alias ls='ls -lh --group-directories-first' +alias nasu='uxnemu ~/src/nasu/bin/nasu.rom' +alias dexe='uxnemu ~/src/dexe/bin/dexe.rom' + +if [ "$winid" ]; then + ## ... then patch the `cd` command + _cd () { + \cd "$@" && awd + } + alias cd=_cd +fi + +PATH=${HOME}/.local/bin:${PATH} + +PATH=${HOME}/src/go/bin:${PATH} if [ -d ~/bin ]; then PATH=~/bin:${PATH} @@ -248,4 +310,3 @@ if [ -d ~/bin ]; then fi done fi - diff --git a/micro/colorschemes/solarwolf.micro b/micro/colorschemes/solarwolf.micro index 276430c..9212c8d 100644 --- a/micro/colorschemes/solarwolf.micro +++ b/micro/colorschemes/solarwolf.micro @@ -5,13 +5,13 @@ color-link constant.specialChar "#dc322f" color-link statement "#1f9b92" color-link symbol "#1f9b92" color-link preproc "#586e75" -#ecolor-link type "#1f9b92" +color-link type "#1f9b92" #color-link special "#268bd2" #color-link underlined "#d33682" color-link error "bold #cb4b16" color-link todo "bold #d33682" color-link statusline "#c9c9c9,#000000" -color-link tabbar "#c9c9c9e,#000000" +color-link tabbar "#c9c9c9,#000000" color-link divider "#000000" color-link indent-char "#000000" color-link line-number "bold #002b36,default" diff --git a/qutebrowser.config.py b/qutebrowser.config.py new file mode 100644 index 0000000..10c23d1 --- /dev/null +++ b/qutebrowser.config.py @@ -0,0 +1,559 @@ +# Autogenerated config.py +# +# NOTE: config.py is intended for advanced users who are comfortable +# with manually migrating the config file on qutebrowser upgrades. If +# you prefer, you can also configure qutebrowser using the +# :set/:bind/:config-* commands without having to write a config.py +# file. +# +# Documentation: +# qute://help/configuring.html +# qute://help/settings.html + +# Change the argument to True to still load settings configured via autoconfig.yml +config.load_autoconfig(False) + +# Allow websites to read canvas elements. Note this is needed for some +# websites to work properly. +# Type: Bool +c.content.canvas_reading = False + +# Which cookies to accept. With QtWebEngine, this setting also controls +# other features with tracking capabilities similar to those of cookies; +# including IndexedDB, DOM storage, filesystem API, service workers, and +# AppCache. Note that with QtWebKit, only `all` and `never` are +# supported as per-domain values. Setting `no-3rdparty` or `no- +# unknown-3rdparty` per-domain on QtWebKit will have the same effect as +# `all`. If this setting is used with URL patterns, the pattern gets +# applied to the origin/first party URL of the page making the request, +# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped +# from URLs, so URL patterns using paths will not match. With +# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so +# you will typically need to set this setting for `example.com` when the +# cookie is set on `somesubdomain.example.com` for it to work properly. +# To debug issues with this setting, start qutebrowser with `--debug +# --logfilter network --debug-flag log-cookies` which will show all +# cookies being set. +# Type: String +# Valid values: +# - all: Accept all cookies. +# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail. +# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty. +# - never: Don't accept cookies at all. +config.set('content.cookies.accept', 'all', 'chrome-devtools://*') + +# Which cookies to accept. With QtWebEngine, this setting also controls +# other features with tracking capabilities similar to those of cookies; +# including IndexedDB, DOM storage, filesystem API, service workers, and +# AppCache. Note that with QtWebKit, only `all` and `never` are +# supported as per-domain values. Setting `no-3rdparty` or `no- +# unknown-3rdparty` per-domain on QtWebKit will have the same effect as +# `all`. If this setting is used with URL patterns, the pattern gets +# applied to the origin/first party URL of the page making the request, +# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped +# from URLs, so URL patterns using paths will not match. With +# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so +# you will typically need to set this setting for `example.com` when the +# cookie is set on `somesubdomain.example.com` for it to work properly. +# To debug issues with this setting, start qutebrowser with `--debug +# --logfilter network --debug-flag log-cookies` which will show all +# cookies being set. +# Type: String +# Valid values: +# - all: Accept all cookies. +# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail. +# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty. +# - never: Don't accept cookies at all. +config.set('content.cookies.accept', 'all', 'devtools://*') + +# Store cookies. +# Type: Bool +c.content.cookies.store = False + +# Allow websites to share screen content. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.desktop_capture', True, 'https://teams.microsoft.com') + +# Allow websites to request geolocations. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.geolocation', False, 'https://elmers.doitbest.com') + +# Value to send in the `Accept-Language` header. Note that the value +# read from JavaScript is always the global value. +# Type: String +config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0', 'https://accounts.google.com/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. With QtWebEngine +# between 5.12 and 5.14 (inclusive), changing the value exposed to +# JavaScript requires a restart. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*') + +# Enable the ad/host blocker +# Type: Bool +c.content.blocking.enabled = True + +# A list of patterns that should always be loaded, despite being blocked +# by the ad-/host-blocker. Local domains are always exempt from +# adblocking. Note this whitelists otherwise blocked requests, not +# first-party URLs. As an example, if `example.org` loads an ad from +# `ads.example.org`, the whitelist entry could be +# `https://ads.example.org/*`. If you want to disable the adblocker on a +# given page, use the `content.blocking.enabled` setting with a URL +# pattern instead. +# Type: List of UrlPattern +c.content.blocking.whitelist = ['insights.dice.com'] + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'chrome-devtools://*') + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'devtools://*') + +# Enable JavaScript. +# Type: Bool +c.content.javascript.enabled = True + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome-devtools://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'devtools://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome://*/*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'qute://*/*') + +# Allow websites to record audio. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.audio_capture', True, 'https://teams.microsoft.com') + +# Allow websites to record audio and video. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.audio_video_capture', True, 'https://teams.microsoft.com') + +# Allow websites to record video. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.media.video_capture', True, 'https://teams.microsoft.com') + +# Allow websites to register protocol handlers via +# `navigator.registerProtocolHandler`. +# Type: BoolAsk +# Valid values: +# - true +# - false +# - ask +config.set('content.register_protocol_handler', False, 'https://mail.google.com?extsrc=mailto&url=%25s') + +# How to proceed on TLS certificate errors. +# Type: String +# Valid values: +# - ask: Ask how to proceed for every certificate error (unless non-overridable due to HSTS). +# - ask-block-thirdparty: Ask how to proceed for normal page loads, but silently block resource loads. +# - block: Automatically block loading on certificate errors. +# - load-insecurely: Force loading pages despite certificate errors. This is *insecure* and should be avoided. Instead of using this, consider fixing the underlying issue or importing a self-signed certificate via `certutil` (or Chromium) instead. +c.content.tls.certificate_errors = 'ask' + +# Enable WebGL. +# Type: Bool +c.content.webgl = False + +# When to show the statusbar. +# Type: String +# Valid values: +# - always: Always show the statusbar. +# - never: Always hide the statusbar. +# - in-mode: Show the statusbar when in modes other than normal mode. +c.statusbar.show = 'always' + +# Padding (in pixels) for the statusbar. +# Type: Padding +c.statusbar.padding = {'bottom': 2, 'left': 2, 'right': 2, 'top': 2} + +# When to show favicons in the tab bar. When switching this from never +# to always/pinned, note that favicons might not be loaded yet, thus +# tabs might require a reload to display them. +# Type: String +# Valid values: +# - always: Always show favicons. +# - never: Always hide favicons. +# - pinned: Show favicons only on pinned tabs. +c.tabs.favicons.show = 'never' + +# When to show the tab bar. +# Type: String +# Valid values: +# - always: Always show the tab bar. +# - never: Always hide the tab bar. +# - multiple: Hide the tab bar if only one tab is open. +# - switching: Show the tab bar when switching tabs. +c.tabs.show = 'multiple' + +# Format to use for the tab title. The following placeholders are +# defined: * `{perc}`: Percentage as a string like `[10%]`. * +# `{perc_raw}`: Raw percentage, e.g. `10`. * `{current_title}`: Title of +# the current web page. * `{title_sep}`: The string `" - "` if a title +# is set, empty otherwise. * `{index}`: Index of this tab. * +# `{aligned_index}`: Index of this tab padded with spaces to have the +# same width. * `{id}`: Internal tab ID of this tab. * `{scroll_pos}`: +# Page scroll position. * `{host}`: Host of the current web page. * +# `{backend}`: Either `webkit` or `webengine` * `{private}`: Indicates +# when private mode is enabled. * `{current_url}`: URL of the current +# web page. * `{protocol}`: Protocol (http/https/...) of the current web +# page. * `{audio}`: Indicator for audio/mute status. +# Type: FormatString +c.tabs.title.format = '{audio}{index}: {host} [{current_title}]' + +# Page to open if :open -t/-b/-w is used without URL. Use `about:blank` +# for a blank page. +# Type: FuzzyUrl +c.url.default_page = 'localhost:9001/bookmarks.html' + +# Search engines which can be used via the address bar. Maps a search +# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}` +# placeholder. The placeholder will be replaced by the search term, use +# `{{` and `}}` for literal `{`/`}` braces. The following further +# placeholds are defined to configure how special characters in the +# search terms are replaced by safe characters (called 'quoting'): * +# `{}` and `{semiquoted}` quote everything except slashes; this is the +# most sensible choice for almost all search engines (for the search +# term `slash/and&` this placeholder expands to `slash/and%26amp`). +# * `{quoted}` quotes all characters (for `slash/and&` this +# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes +# nothing (for `slash/and&` this placeholder expands to +# `slash/and&`). * `{0}` means the same as `{}`, but can be used +# multiple times. The search engine named `DEFAULT` is used when +# `url.auto_search` is turned on and something else than a URL was +# entered to be opened. Other search engines can be used by prepending +# the search engine name to the search term, e.g. `:open google +# qutebrowser`. +# Type: Dict +c.url.searchengines = {'DEFAULT': 'https://kagi.com/search/?q={}'} + +# Page(s) to open at the start. +# Type: List of FuzzyUrl, or FuzzyUrl +c.url.start_pages = 'localhost:9001/bookmarks.html' + +# Text color of the completion widget. May be a single color to use for +# all columns or a list of three colors, one for each column. +# Type: List of QtColor, or QtColor +c.colors.completion.fg = '#93a1a1' + +# Background color of the completion widget for odd rows. +# Type: QssColor +c.colors.completion.odd.bg = '#002b36' + +# Background color of the completion widget for even rows. +# Type: QssColor +c.colors.completion.even.bg = '#002b36' + +# Foreground color of completion widget category headers. +# Type: QtColor +c.colors.completion.category.fg = '#c9c9c9' + +# Background color of the completion widget category headers. +# Type: QssColor +c.colors.completion.category.bg = 'black' + +# Foreground color of the selected completion item. +# Type: QtColor +c.colors.completion.item.selected.fg = 'black' + +# Background color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.bg = '#1f9b92' + +# Top border color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.border.top = '#1f9b92' + +# Bottom border color of the selected completion item. +# Type: QssColor +c.colors.completion.item.selected.border.bottom = '#1f9b92' + +# Foreground color of the matched text in the selected completion item. +# Type: QtColor +c.colors.completion.item.selected.match.fg = 'black' + +# Foreground color of the matched text in the completion. +# Type: QtColor +c.colors.completion.match.fg = '#c9c9c9' + +# Color of the scrollbar handle in the completion view. +# Type: QssColor +c.colors.completion.scrollbar.fg = '#1f9b92' + +# Color of the scrollbar in the completion view. +# Type: QssColor +c.colors.completion.scrollbar.bg = '#002b36' + +# Background color of the context menu. If set to null, the Qt default +# is used. +# Type: QssColor +c.colors.contextmenu.menu.bg = 'black' + +# Foreground color of the context menu. If set to null, the Qt default +# is used. +# Type: QssColor +c.colors.contextmenu.menu.fg = '#c9c9c9' + +# Background color of the context menu's selected item. If set to null, +# the Qt default is used. +# Type: QssColor +c.colors.contextmenu.selected.bg = '#1f9b92' + +# Foreground color of the context menu's selected item. If set to null, +# the Qt default is used. +# Type: QssColor +c.colors.contextmenu.selected.fg = 'black' + +# Background color of disabled items in the context menu. If set to +# null, the Qt default is used. +# Type: QssColor +c.colors.contextmenu.disabled.bg = 'black' + +# Foreground color of disabled items in the context menu. If set to +# null, the Qt default is used. +# Type: QssColor +c.colors.contextmenu.disabled.fg = '#797979' + +# Color gradient start for download text. +# Type: QtColor +c.colors.downloads.start.fg = '#93a1a1' + +# Color gradient start for download backgrounds. +# Type: QtColor +c.colors.downloads.start.bg = '#002b36' + +# Color gradient end for download text. +# Type: QtColor +c.colors.downloads.stop.fg = 'black' + +# Color gradient stop for download backgrounds. +# Type: QtColor +c.colors.downloads.stop.bg = '#1f9b92' + +# Foreground color for downloads with errors. +# Type: QtColor +c.colors.downloads.error.fg = 'black' + +# Background color for downloads with errors. +# Type: QtColor +c.colors.downloads.error.bg = '#cc221f' + +# Foreground color for prompts. +# Type: QssColor +c.colors.prompts.fg = '#c9c9c9' + +# Background color for prompts. +# Type: QssColor +c.colors.prompts.bg = 'black' + +# Foreground color for the selected item in filename prompts. +# Type: QssColor +c.colors.prompts.selected.fg = 'black' + +# Background color for the selected item in filename prompts. +# Type: QssColor +c.colors.prompts.selected.bg = '#1f9b92' + +# Foreground color of the statusbar. +# Type: QssColor +c.colors.statusbar.normal.fg = '#c9c9c9' + +# Foreground color of the statusbar in insert mode. +# Type: QssColor +c.colors.statusbar.insert.fg = 'black' + +# Background color of the statusbar in insert mode. +# Type: QssColor +c.colors.statusbar.insert.bg = '#1f9b92' + +# Foreground color of the statusbar in passthrough mode. +# Type: QssColor +c.colors.statusbar.passthrough.fg = '#1f9b92' + +# Background color of the statusbar in passthrough mode. +# Type: QssColor +c.colors.statusbar.passthrough.bg = 'black' + +# Foreground color of the statusbar in command mode. +# Type: QssColor +c.colors.statusbar.command.fg = '#c9c9c9' + +# Foreground color of the statusbar in caret mode. +# Type: QssColor +c.colors.statusbar.caret.fg = '#93a1a1' + +# Background color of the statusbar in caret mode. +# Type: QssColor +c.colors.statusbar.caret.bg = '#002b36' + +# Foreground color of the statusbar in caret mode with a selection. +# Type: QssColor +c.colors.statusbar.caret.selection.fg = 'black' + +# Background color of the statusbar in caret mode with a selection. +# Type: QssColor +c.colors.statusbar.caret.selection.bg = '#1f9b92' + +# Default foreground color of the URL in the statusbar. +# Type: QssColor +c.colors.statusbar.url.fg = '#c9c9c9' + +# Foreground color of the URL in the statusbar on error. +# Type: QssColor +c.colors.statusbar.url.error.fg = '#cc221f' + +# Foreground color of the URL in the statusbar for hovered links. +# Type: QssColor +c.colors.statusbar.url.hover.fg = '#1f9b92' + +# Foreground color of the URL in the statusbar on successful load +# (http). +# Type: QssColor +c.colors.statusbar.url.success.http.fg = '#c9c9c9' + +# Foreground color of the URL in the statusbar on successful load +# (https). +# Type: QssColor +c.colors.statusbar.url.success.https.fg = '#c9c9c9' + +# Color gradient start for the tab indicator. +# Type: QtColor +c.colors.tabs.indicator.start = '#002b36' + +# Color gradient end for the tab indicator. +# Type: QtColor +c.colors.tabs.indicator.stop = '#1f9b92' + +# Color for the tab indicator on errors. +# Type: QtColor +c.colors.tabs.indicator.error = '#cc221f' + +# Foreground color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.fg = 'gray' + +# Background color of unselected odd tabs. +# Type: QtColor +c.colors.tabs.odd.bg = 'black' + +# Foreground color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.fg = 'grey' + +# Background color of unselected even tabs. +# Type: QtColor +c.colors.tabs.even.bg = 'black' + +# Foreground color of selected odd tabs. +# Type: QtColor +c.colors.tabs.selected.odd.fg = '#c9c9c9' + +# Foreground color of selected even tabs. +# Type: QtColor +c.colors.tabs.selected.even.fg = '#c9c9c9' + +# Value to use for `prefers-color-scheme:` for websites. The "light" +# value is only available with QtWebEngine 5.15.2+. On older versions, +# it is the same as "auto". The "auto" value is broken on QtWebEngine +# 5.15.2 due to a Qt bug. There, it will fall back to "light" +# unconditionally. +# Type: String +# Valid values: +# - auto: Use the system-wide color scheme setting. +# - light: Force a light theme. +# - dark: Force a dark theme. +c.colors.webpage.preferred_color_scheme = 'dark' + +# Default font families to use. Whenever "default_family" is used in a +# font setting, it's replaced with the fonts listed here. If set to an +# empty value, a system-specific monospace default is used. +# Type: List of Font, or Font +c.fonts.default_family = 'sauce code pro nerd font' + +# Default font size to use. Whenever "default_size" is used in a font +# setting, it's replaced with the size listed here. Valid values are +# either a float value with a "pt" suffix, or an integer value with a +# "px" suffix. +# Type: String +c.fonts.default_size = '9pt' + +# Font family for standard fonts. +# Type: FontFamily +c.fonts.web.family.standard = 'Unifont' + +# Font family for sans-serif fonts. +# Type: FontFamily +c.fonts.web.family.sans_serif = 'unifont' diff --git a/tint2rc b/tint2rc index 6020f9d..addb65e 100644 --- a/tint2rc +++ b/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf fb9a ---- +#---- Generated by tint2conf daf6 ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -72,13 +72,13 @@ border_color_pressed = #000000 100 #------------------------------------- # Panel -panel_items = ETECE +panel_items = ETEEE panel_size = 100% 24 panel_margin = 0 0 panel_padding = 2 3 2 panel_background_id = 1 wm_menu = 1 -panel_dock = 0 +panel_dock = 1 panel_pivot_struts = 0 panel_position = top center horizontal panel_layer = top @@ -115,7 +115,7 @@ taskbar_name_background_id = 0 taskbar_name_active_background_id = 0 taskbar_name_font = Monoid Nerd Font Mono Semi-Condensed 9 taskbar_name_font_color = #e3e3e3 100 -taskbar_name_active_font_color = #c9c9c9 100 +taskbar_name_active_font_color = #93a1a1 100 taskbar_distribute_size = 0 taskbar_sort_order = none task_align = left @@ -133,9 +133,9 @@ task_tooltip = 1 task_thumbnail = 1 task_thumbnail_size = 198 task_font_color = #c9c9c9 100 -task_normal_font_color = #c9c9c9 100 -task_active_font_color = #ffffff 100 -task_iconified_font_color = #c9c9c9 40 +task_normal_font_color = #797979 100 +task_active_font_color = #c9c9c9 100 +task_iconified_font_color = #797979 70 task_background_id = 2 task_active_background_id = 3 task_iconified_background_id = 2 @@ -168,7 +168,7 @@ launcher_tooltip = 1 #------------------------------------- # Clock -time1_format = %Y-%m-%d | %H:%M +time1_format = | %H:%M time2_format = time1_font = SauceCodePro Nerd Font 9 time1_timezone = @@ -215,6 +215,7 @@ execp_has_icon = 0 execp_cache_icon = 0 execp_continuous = 0 execp_markup = 0 +execp_monitor = all execp_tooltip = leftclick: windowlist, rightclick: apps menu, scroll: switch desktops execp_lclick_command = /home/nilix/bin/9/dmenu_exe execp_rclick_command = alacritty -e htop @@ -238,6 +239,7 @@ execp_has_icon = 0 execp_cache_icon = 0 execp_continuous = 0 execp_markup = 0 +execp_monitor = all execp_tooltip = leftclick: network config, rightclick: battery status execp_lclick_command = /home/nilix/src/zenUtils/nmtuiWin.sh execp_rclick_command = notify-send -u normal -c power battery [$(cat /sys/class/power_supply/BAT0/capacity)%] @@ -255,12 +257,37 @@ execp_icon_h = 0 #------------------------------------- # Executor 3 execp = new +execp_command = ~/src/zenUtils/dynacal.sh +execp_interval = 10 +execp_has_icon = 0 +execp_cache_icon = 0 +execp_continuous = 0 +execp_markup = 0 +execp_monitor = all +execp_tooltip = leftclick: toggle time display +execp_lclick_command = ~/src/zenUtils/dynacal.sh -t +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = SauceCodePro Nerd Font Mono 9 +execp_font_color = #c9c9c9 100 +execp_padding = 0 0 +execp_background_id = 0 +execp_centered = 0 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Executor 4 +execp = new execp_command = /home/nilix/src/zenUtils/logout.sh execp_interval = 0 execp_has_icon = 0 execp_cache_icon = 0 execp_continuous = 0 execp_markup = 1 +execp_monitor = all execp_tooltip = leftclick: power and session control execp_lclick_command = sudo /home/nilix/src/zenUtils/logout.sh -p execp_rclick_command = @@ -268,8 +295,8 @@ execp_mclick_command = execp_uwheel_command = execp_dwheel_command = execp_font = SauceCodePro Nerd Font Mono 12 -execp_font_color = #93a1a1 100 -execp_padding = 2 0 +execp_font_color = #c9c9c9 100 +execp_padding = 8 0 execp_background_id = 0 execp_centered = 0 execp_icon_w = 0