update dotfiles, add fluxbox config
22
fluxbox/apps
Normal file
|
@ -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]
|
0
fluxbox/fbrun_history
Normal file
89
fluxbox/init
Normal file
|
@ -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
|
115
fluxbox/keys
Normal file
|
@ -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])
|
||||
Mod1 Shift Tab :PrevWindow {static groups} (workspace=[current])
|
||||
|
||||
# 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
|
1
fluxbox/lastwallpaper
Normal file
|
@ -0,0 +1 @@
|
|||
fbsetroot|-foreground #1C232E -background #12233F -gradient flatgradientelliptic|style|:0.0
|
16
fluxbox/menu
Normal file
|
@ -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]
|
2
fluxbox/overlay
Normal file
|
@ -0,0 +1,2 @@
|
|||
! The following line will prevent styles from setting the background.
|
||||
! background: none
|
1
fluxbox/slitlist
Normal file
|
@ -0,0 +1 @@
|
|||
tint2
|
25
fluxbox/startup
Normal file
|
@ -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
|
BIN
fluxbox/styles/abyss/close-i.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/close-p.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/close.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/desk-i.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/desk-p.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/desk-t.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/desk.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/iconify-i.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/iconify-p.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/iconify.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/max-i.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/max-p.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/max.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/shade-i.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/shade-p.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/shade-t.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
fluxbox/styles/abyss/shade.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
fluxbox/styles/abyss/taskbutton.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
155
fluxbox/styles/abyss/theme.cfg
Normal file
|
@ -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: #FFFFFF
|
||||
|
||||
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: #ffffff
|
||||
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
|
BIN
fluxbox/styles/abyss/window.png
Normal file
After Width: | Height: | Size: 550 B |
17
fluxbox/usermenu
Normal file
|
@ -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]
|
15
fluxbox/windowmenu
Normal file
|
@ -0,0 +1,15 @@
|
|||
[begin]
|
||||
[shade]
|
||||
[stick]
|
||||
[maximize]
|
||||
[iconify]
|
||||
[raise]
|
||||
[lower]
|
||||
[settitledialog]
|
||||
[sendto]
|
||||
[layer]
|
||||
[alpha]
|
||||
[extramenus]
|
||||
[separator]
|
||||
[close]
|
||||
[end]
|
35
kshrc
|
@ -8,11 +8,11 @@ indicator()
|
|||
}
|
||||
|
||||
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 GTK_THEME=steppenwolf-dark
|
||||
export MICRO_TRUECOLOR=1
|
||||
export GOPATH=~/src/go
|
||||
export ZEIT_DB=~/.zeit/db
|
||||
|
@ -145,7 +145,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
|
||||
|
@ -204,15 +204,15 @@ 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 &
|
||||
if pgrep ryudo; then
|
||||
killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 &
|
||||
fi
|
||||
}
|
||||
|
||||
mkthumb() {
|
||||
|
@ -224,6 +224,28 @@ 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
|
||||
}
|
||||
|
||||
alias alsamixer='alsamixer --no-color'
|
||||
alias web='silence $BROWSER'
|
||||
alias mail='silence thunderbird'
|
||||
|
@ -235,8 +257,8 @@ 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"; PINENTRY_USER_DATA=curses 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'
|
||||
|
||||
|
@ -248,4 +270,3 @@ if [ -d ~/bin ]; then
|
|||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
39
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
|
||||
|
@ -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 =
|
||||
|
@ -269,7 +296,7 @@ execp_uwheel_command =
|
|||
execp_dwheel_command =
|
||||
execp_font = SauceCodePro Nerd Font Mono 12
|
||||
execp_font_color = #93a1a1 100
|
||||
execp_padding = 2 0
|
||||
execp_padding = 8 0
|
||||
execp_background_id = 0
|
||||
execp_centered = 0
|
||||
execp_icon_w = 0
|
||||
|
|