Compare commits
3 Commits
0a0a444a2d
...
7f7c20cfda
Author | SHA1 | Date | |
---|---|---|---|
7f7c20cfda | |||
213d8bf9c8 | |||
2600016096 |
@ -6,7 +6,6 @@ scripts_subdir="$PWD/scripts"
|
||||
# rsync -a ~/pictures/wallpapers/* wallpapers/
|
||||
|
||||
cd config || exit
|
||||
rsync -a ~/.config/kitty .
|
||||
rsync -a \
|
||||
--exclude 'bookmarks' \
|
||||
--exclude 'quickmarks' \
|
||||
@ -32,6 +31,7 @@ le-audio \
|
||||
sxhkd-help \
|
||||
change-scheme \
|
||||
le-wallpaper \
|
||||
le-wallpaper-open \
|
||||
xfce4-le-wallpaper \
|
||||
qutebrowser \
|
||||
qutesearch \
|
||||
|
@ -2,7 +2,11 @@
|
||||
|
||||
wmname LG3D &
|
||||
|
||||
bsp-auto-monitors
|
||||
# START MONITOR BLOCK
|
||||
bspc monitor HDMI-1 -d I II III IV
|
||||
bspc monitor eDP-1 -d eDP-1
|
||||
# END MONITOR BLOCK
|
||||
|
||||
bsp-key-daemon
|
||||
|
||||
bspc config border_width 1
|
||||
@ -22,6 +26,8 @@ bspc config pointer_action2 resize_corner
|
||||
bspc config focus_follows_pointer true
|
||||
bspc config pointer_follows_focus true
|
||||
|
||||
# bspc rule -a \* state=pseudo_tiled
|
||||
bspc rule -a qutebrowser state=tiled
|
||||
bspc rule -a KittyScratch state=floating
|
||||
bspc rule -a Wrapper-2.0 state=floating # Xfce start menu
|
||||
bspc rule -a Rofi state=floating
|
||||
|
@ -1,3 +1,3 @@
|
||||
bspc config normal_border_color "#68615e"
|
||||
bspc config active_border_color "#766e6b"
|
||||
bspc config focused_border_color "#9c9491"
|
||||
bspc config normal_border_color "#3c3f4c"
|
||||
bspc config active_border_color "#383a47"
|
||||
bspc config focused_border_color "#555e70"
|
||||
|
27
config/qutebrowser/base16.css
Normal file
27
config/qutebrowser/base16.css
Normal file
@ -0,0 +1,27 @@
|
||||
# :root {
|
||||
# --vii: #22262d;
|
||||
# --vi: #383a47;
|
||||
# --v: #ff29a8;
|
||||
# --iv: #8b9cbe;
|
||||
# --iiv: #f4f4f7;
|
||||
# --a: #8265ff;
|
||||
# }
|
||||
|
||||
:root {
|
||||
--base00: #17191E;
|
||||
--base01: #22262d;
|
||||
--base02: #3c3f4c;
|
||||
--base03: #383a47;
|
||||
--base04: #555e70;
|
||||
--base05: #8b9cbe;
|
||||
--base06: #B2BFD9;
|
||||
--base07: #f4f4f7;
|
||||
--base08: #ff29a8;
|
||||
--base09: #85ffe0;
|
||||
--base0A: #f0ffaa;
|
||||
--base0B: #0badff;
|
||||
--base0C: #8265ff;
|
||||
--base0D: #00eaff;
|
||||
--base0E: #00f6d9;
|
||||
--base0F: #ff3d81;
|
||||
}
|
@ -9,12 +9,12 @@ c.tabs.show = "never"
|
||||
|
||||
c.content.autoplay = False
|
||||
|
||||
c.colors.webpage.preferred_color_scheme
|
||||
# c.colors.webpage.preferred_color_scheme
|
||||
|
||||
config.bind('h', 'back')
|
||||
config.bind('l', 'forward')
|
||||
config.bind('J', 'scroll-page 0 1')
|
||||
config.bind('K', 'scroll-page 0 -1')
|
||||
config.bind('j', 'scroll-page 0 1')
|
||||
config.bind('k', 'scroll-page 0 -1')
|
||||
|
||||
config.bind('gp', 'mode-enter passthrough')
|
||||
|
||||
@ -40,6 +40,8 @@ c.hints.selectors["bookmarks"] = [
|
||||
]
|
||||
config.bind(';b', 'hint bookmarks userscript copy-bookmark')
|
||||
|
||||
c.content.user_stylesheets = "base16.css"
|
||||
|
||||
#START SHCHEMES BLOCK : shchemes create_theme qutebrowser
|
||||
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
||||
# Scheme name:
|
||||
@ -47,22 +49,22 @@ config.bind(';b', 'hint bookmarks userscript copy-bookmark')
|
||||
# Template author: theova
|
||||
# Commentary: Tinted Theming: (https://github.com/tinted-theming)
|
||||
|
||||
base00 = "#1b1918"
|
||||
base01 = "#2c2421"
|
||||
base02 = "#68615e"
|
||||
base03 = "#766e6b"
|
||||
base04 = "#9c9491"
|
||||
base05 = "#a8a19f"
|
||||
base06 = "#e6e2e0"
|
||||
base07 = "#f1efee"
|
||||
base08 = "#f22c40"
|
||||
base09 = "#df5320"
|
||||
base0A = "#c38418"
|
||||
base0B = "#7b9726"
|
||||
base0C = "#3d97b8"
|
||||
base0D = "#407ee7"
|
||||
base0E = "#6666ea"
|
||||
base0F = "#c33ff3"
|
||||
base00 = "#17191E"
|
||||
base01 = "#22262d"
|
||||
base02 = "#3c3f4c"
|
||||
base03 = "#383a47"
|
||||
base04 = "#555e70"
|
||||
base05 = "#8b9cbe"
|
||||
base06 = "#B2BFD9"
|
||||
base07 = "#f4f4f7"
|
||||
base08 = "#ff29a8"
|
||||
base09 = "#85ffe0"
|
||||
base0A = "#f0ffaa"
|
||||
base0B = "#0badff"
|
||||
base0C = "#8265ff"
|
||||
base0D = "#00eaff"
|
||||
base0E = "#00f6d9"
|
||||
base0F = "#ff3d81"
|
||||
|
||||
# set qutebrowser colors
|
||||
|
||||
|
@ -7,13 +7,13 @@
|
||||
*/
|
||||
|
||||
* {
|
||||
red: rgba ( 242, 44, 64, 100 % );
|
||||
blue: rgba ( 64, 126, 231, 100 % );
|
||||
lightfg: rgba ( 230, 226, 224, 100 % );
|
||||
lightbg: rgba ( 44, 36, 33, 100 % );
|
||||
foreground: rgba ( 168, 161, 159, 100 % );
|
||||
background: rgba ( 27, 25, 24, 100 % );
|
||||
background-color: rgba ( 27, 25, 24, 0 % );
|
||||
red: rgba ( 255, 41, 168, 100 % );
|
||||
blue: rgba ( 0, 234, 255, 100 % );
|
||||
lightfg: rgba ( 178, 191, 217, 100 % );
|
||||
lightbg: rgba ( 34, 38, 45, 100 % );
|
||||
foreground: rgba ( 139, 156, 190, 100 % );
|
||||
background: rgba ( 23, 25, 30, 100 % );
|
||||
background-color: rgba ( 23, 25, 30, 0 % );
|
||||
separatorcolor: @foreground;
|
||||
border-color: @foreground;
|
||||
selected-normal-foreground: @lightbg;
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
# Open kitty
|
||||
super + Return
|
||||
kitty
|
||||
xfce4-terminal
|
||||
|
||||
# Open floating kitty
|
||||
super + shift + Return
|
||||
bsp-float kitty
|
||||
bsp-float xfce4-terminal
|
||||
|
||||
# launch program (drun)
|
||||
super + @space
|
||||
@ -29,6 +29,16 @@ super + alt + Menu
|
||||
super + o
|
||||
qutesearch
|
||||
|
||||
# Preselect below and start a qutebrowser search
|
||||
super + p
|
||||
bspc node -p south -o 0.01 \
|
||||
&& qutesearch \
|
||||
|| bspc node -p cancel
|
||||
|
||||
# Grab color
|
||||
Print
|
||||
grabc | xclip -sel clipboard
|
||||
|
||||
# Show keybinds
|
||||
super + slash
|
||||
sxhkd-help
|
||||
@ -78,29 +88,23 @@ super + {_,shift + }w
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
# send the newest marked node to the newest preselected node
|
||||
super + y
|
||||
bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
# swap the current node and the biggest window
|
||||
super + g
|
||||
bspc node -s biggest.window
|
||||
|
||||
# Reveal hidden kitty (scratchpad)
|
||||
super + alt + Return
|
||||
bsp-toggle-visibility KittyScratch "kitty --class KittyScratch"
|
||||
|
||||
# Plumb selected text
|
||||
super + c
|
||||
eval $(sselp | goawk $(cat ~/plumber.awk))
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
|
||||
# set the window state
|
||||
super + {z,shift + z,x,f}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
# toggle window state
|
||||
super + c
|
||||
bspc node 'focused.!tiled' -t tiled || bspc node 'focused.!floating' -t floating
|
||||
# bspc node 'focused.!pseudo_tiled' -t pseudo_tiled
|
||||
|
||||
# toggle window fullscreen
|
||||
super + f
|
||||
bspc node 'focused.!tiled' -t tiled || bspc node 'focused.!fullscreen' -t fullscreen
|
||||
|
||||
|
||||
# set the node flags
|
||||
super + ctrl + {m,x,y,z}
|
||||
@ -110,35 +114,18 @@ super + ctrl + {m,x,y,z}
|
||||
# focus/swap
|
||||
#
|
||||
|
||||
# focus the node in the given direction
|
||||
# Focus the node in the given direction
|
||||
super + {h,j,k,l,Left,Down,Up,Right}
|
||||
bspc node -{f} {west,south,north,east,west,south,north,east}
|
||||
|
||||
# focus the node for the given path jump
|
||||
super + {p,b,comma,period}
|
||||
bspc node -f @{parent,brother,first,second}
|
||||
|
||||
# # focus the next/previous window in the current desktop
|
||||
# super + {a,d}
|
||||
# bspc node -f {next,prev}.local.!hidden.window
|
||||
# Rotate tree
|
||||
# Rotate focus clockwise/counterclockwise
|
||||
super + {d,a}
|
||||
bspc node @/ -C {forward,backward}
|
||||
|
||||
# focus the next/previous desktop in the current monitor
|
||||
super + bracket{left,right}
|
||||
bspc desktop -f {prev,next}.local
|
||||
bspc node -f {next,prev}.local.window
|
||||
|
||||
# focus the last node/desktop
|
||||
super + {grave,Tab}
|
||||
bspc {node,desktop} -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
# super + {o,i}
|
||||
# bspc wm -h off; \
|
||||
# bspc node {older,newer} -f; \
|
||||
# bspc wm -h on
|
||||
|
||||
# focus or send to the given desktop
|
||||
super + {_,shift + }{1-6}
|
||||
bspc {desktop -f,node -d} '^{1-6}'
|
||||
@ -160,7 +147,7 @@ super + ctrl + shift + space
|
||||
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
||||
|
||||
# swap current window with preselection
|
||||
super + p
|
||||
super + s
|
||||
bspc node -n last.\!automatic -t tiled
|
||||
|
||||
#
|
||||
@ -181,6 +168,20 @@ super + {h,j,k,l}
|
||||
super + shift + {h,j,k,l,Left,Down,Up,Right}
|
||||
bsp-smove {west,south,north,east,west,south,north,east}
|
||||
|
||||
# minimize current window, move down
|
||||
super + {z,bracketleft}
|
||||
bspc node -f 'focused.tiled' \
|
||||
&& bspc node -f north; \
|
||||
bspc node -z bottom 0 9999
|
||||
|
||||
# minimize current window, move up
|
||||
super + {x,bracketright}
|
||||
bspc node -f 'focused.tiled' \
|
||||
&& bspc node -f south; \
|
||||
bspc node -z top 0 -9999
|
||||
|
||||
super + backslash
|
||||
bspc node -e
|
||||
|
||||
#
|
||||
# Program launching binds
|
||||
@ -193,4 +194,28 @@ super + 9
|
||||
bitwarden
|
||||
|
||||
super + 0
|
||||
kitty --hold sh -c micro
|
||||
kitty -e micro
|
||||
|
||||
#
|
||||
# Media
|
||||
#
|
||||
|
||||
# Play/pause track
|
||||
XF86AudioPlay
|
||||
playerctl play-pause
|
||||
|
||||
# Play/pause track
|
||||
Pause
|
||||
playerctl play-pause
|
||||
|
||||
# Previus track
|
||||
XF86AudioNext
|
||||
playerctl next
|
||||
|
||||
# Previous track
|
||||
XF86AudioPrev
|
||||
playerctl previous
|
||||
|
||||
# Stop track
|
||||
XF86AudioStop
|
||||
playerctl stop
|
||||
|
@ -318,9 +318,6 @@
|
||||
"PreviewMessage": {
|
||||
"enabled": false
|
||||
},
|
||||
"PronounDB": {
|
||||
"enabled": false
|
||||
},
|
||||
"QuickMention": {
|
||||
"enabled": false
|
||||
},
|
||||
@ -351,9 +348,6 @@
|
||||
"RoleColorEverywhere": {
|
||||
"enabled": false
|
||||
},
|
||||
"SearchReply": {
|
||||
"enabled": false
|
||||
},
|
||||
"SecretRingToneEnabler": {
|
||||
"enabled": false
|
||||
},
|
||||
@ -541,9 +535,6 @@
|
||||
"VoiceDownload": {
|
||||
"enabled": false
|
||||
},
|
||||
"WatchTogetherAdblock": {
|
||||
"enabled": false
|
||||
},
|
||||
"WebScreenShareFixes": {
|
||||
"enabled": true
|
||||
},
|
||||
@ -568,7 +559,16 @@
|
||||
"NoOnboardingDelay": {
|
||||
"enabled": false
|
||||
},
|
||||
"ShowAllRoles": {
|
||||
"AlwaysExpandRoles": {
|
||||
"enabled": false
|
||||
},
|
||||
"YoutubeAdblock": {
|
||||
"enabled": false
|
||||
},
|
||||
"FullSearchContext": {
|
||||
"enabled": false
|
||||
},
|
||||
"UserMessagesPronouns": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
@ -582,6 +582,6 @@
|
||||
"authenticated": false,
|
||||
"url": "https://api.vencord.dev/",
|
||||
"settingsSync": false,
|
||||
"settingsSyncVersion": 1723460751842
|
||||
"settingsSyncVersion": 1731937700893
|
||||
}
|
||||
}
|
||||
}
|
2
config/xfce4/help.rc
Normal file
2
config/xfce4/help.rc
Normal file
@ -0,0 +1,2 @@
|
||||
auto-online=false
|
||||
|
40
config/xfce4/terminal/terminalrc
Normal file
40
config/xfce4/terminal/terminalrc
Normal file
@ -0,0 +1,40 @@
|
||||
[Configuration]
|
||||
ColorForeground=#8b9cbe
|
||||
ColorBackground=#17191E
|
||||
ColorCursor=#8265ff
|
||||
ColorSelection=#17191E
|
||||
ColorBold=#8b9cbe
|
||||
ColorBoldUseDefault=FALSE
|
||||
ColorPalette=#17191E;#ff29a8;#0badff;#f0ffaa;#00eaff;#00f6d9;#8265ff;#8b9cbe;#383a47;#ff29a8;#0badff;#f0ffaa;#00eaff;#00f6d9;#8265ff;#f4f4f7
|
||||
TabActivityColor=#f0ffaa
|
||||
FontName=DejaVu Sans Mono 11
|
||||
MiscAlwaysShowTabs=FALSE
|
||||
MiscBell=FALSE
|
||||
MiscBellUrgent=FALSE
|
||||
MiscBordersDefault=FALSE
|
||||
MiscCursorBlinks=FALSE
|
||||
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
|
||||
MiscDefaultGeometry=80x24
|
||||
MiscInheritGeometry=FALSE
|
||||
MiscMenubarDefault=FALSE
|
||||
MiscMouseAutohide=FALSE
|
||||
MiscMouseWheelZoom=TRUE
|
||||
MiscToolbarDefault=FALSE
|
||||
MiscConfirmClose=FALSE
|
||||
MiscCycleTabs=TRUE
|
||||
MiscTabCloseButtons=TRUE
|
||||
MiscTabCloseMiddleClick=TRUE
|
||||
MiscTabPosition=GTK_POS_TOP
|
||||
MiscHighlightUrls=TRUE
|
||||
MiscMiddleClickOpensUri=FALSE
|
||||
MiscCopyOnSelect=FALSE
|
||||
MiscShowRelaunchDialog=TRUE
|
||||
MiscRewrapOnResize=TRUE
|
||||
MiscUseShiftArrowsToScroll=FALSE
|
||||
MiscSlimTabs=FALSE
|
||||
MiscNewTabAdjacent=FALSE
|
||||
MiscSearchDialogOpacity=100
|
||||
MiscShowUnsafePasteDialog=TRUE
|
||||
MiscRightClickAction=TERMINAL_RIGHT_CLICK_ACTION_CONTEXT_MENU
|
||||
ShortcutsNoMnemonics=TRUE
|
||||
|
@ -4,12 +4,29 @@
|
||||
<property name="ActiveProfile" type="string" value="Default"/>
|
||||
<property name="Default" type="empty">
|
||||
<property name="eDP-1" type="string" value="Laptop">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="Active" type="bool" value="false"/>
|
||||
<property name="EDID" type="string" value="b523bc2cb14c5b55f5ea3aa234181e999627d08e"/>
|
||||
<property name="Resolution" type="string" value="1920x1080"/>
|
||||
<property name="RefreshRate" type="double" value="60.002344822965867"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1"/>
|
||||
<property name="Y" type="double" value="1"/>
|
||||
</property>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="HDMI-1" type="string" value="Lenovo 22"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="c89931af72068948d9206fa7f80f34bb90faeb1d"/>
|
||||
<property name="Resolution" type="string" value="1920x1080"/>
|
||||
<property name="RefreshRate" type="double" value="60"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1"/>
|
||||
@ -29,6 +46,23 @@
|
||||
<property name="RefreshRate" type="double" value="60.002344822965867"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="false"/>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1"/>
|
||||
<property name="Y" type="double" value="1"/>
|
||||
</property>
|
||||
<property name="Position" type="empty">
|
||||
<property name="X" type="int" value="0"/>
|
||||
<property name="Y" type="int" value="0"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="HDMI-1" type="string" value="Lenovo 22"">
|
||||
<property name="Active" type="bool" value="true"/>
|
||||
<property name="EDID" type="string" value="c89931af72068948d9206fa7f80f34bb90faeb1d"/>
|
||||
<property name="Resolution" type="string" value="1920x1080"/>
|
||||
<property name="RefreshRate" type="double" value="60"/>
|
||||
<property name="Rotation" type="int" value="0"/>
|
||||
<property name="Reflection" type="string" value="0"/>
|
||||
<property name="Primary" type="bool" value="true"/>
|
||||
<property name="Scale" type="empty">
|
||||
<property name="X" type="double" value="1"/>
|
||||
@ -41,4 +75,5 @@
|
||||
</property>
|
||||
</property>
|
||||
<property name="Notify" type="int" value="1"/>
|
||||
<property name="AutoEnableProfiles" type="bool" value="true"/>
|
||||
</channel>
|
||||
|
@ -3,5 +3,6 @@
|
||||
<channel name="keyboards" version="1.0">
|
||||
<property name="Default" type="empty">
|
||||
<property name="Numlock" type="bool" value="true"/>
|
||||
<property name="KeyRepeat" type="bool" value="true"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
@ -9,14 +9,14 @@
|
||||
<property name="shortcuts-icon-size" type="empty"/>
|
||||
<property name="last-view" type="string" value="ThunarDetailsView"/>
|
||||
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
|
||||
<property name="last-window-width" type="int" value="990"/>
|
||||
<property name="last-window-height" type="int" value="499"/>
|
||||
<property name="last-window-width" type="int" value="876"/>
|
||||
<property name="last-window-height" type="int" value="1045"/>
|
||||
<property name="last-window-maximized" type="bool" value="false"/>
|
||||
<property name="last-separator-position" type="int" value="170"/>
|
||||
<property name="last-show-hidden" type="bool" value="true"/>
|
||||
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_25_PERCENT"/>
|
||||
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
|
||||
<property name="last-details-view-column-widths" type="string" value="50,50,106,50,73,311,50,50,384,50,50,65,50,356"/>
|
||||
<property name="last-details-view-column-widths" type="string" value="50,50,106,50,73,217,50,50,284,50,50,65,50,356"/>
|
||||
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_DATE_MODIFIED"/>
|
||||
<property name="last-sort-order" type="string" value="GTK_SORT_DESCENDING"/>
|
||||
</channel>
|
||||
|
@ -36,9 +36,10 @@
|
||||
</property>
|
||||
<property name="monitoreDP-1" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="last-image" type="string" value="/home/dakedres/.local/share/le_wallpaper/wallpaper.png"/>
|
||||
<property name="last-image" type="string" value="/home/dakedres/.local/share/le_wallpaper/.eDP-1.png"/>
|
||||
<property name="image-style" type="int" value="5"/>
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
<property name="backdrop-cycle-enable" type="bool" value="false"/>
|
||||
</property>
|
||||
<property name="workspace1" type="empty">
|
||||
<property name="color-style" type="int" value="0"/>
|
||||
@ -61,13 +62,18 @@
|
||||
<property name="last-image" type="string" value="repos/dotfiles/wallpapers/walkin-just-crop.jpg"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="monitorHDMI-1" type="empty">
|
||||
<property name="workspace0" type="empty">
|
||||
<property name="last-image" type="string" value="/home/dakedres/.local/share/le_wallpaper/.HDMI-1.png"/>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
</property>
|
||||
<property name="desktop-menu" type="empty">
|
||||
<property name="show" type="empty"/>
|
||||
</property>
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="598"/>
|
||||
<property name="window-height" type="int" value="548"/>
|
||||
<property name="window-width" type="int" value="815"/>
|
||||
<property name="window-height" type="int" value="599"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
@ -4,13 +4,15 @@
|
||||
<property name="notify-location" type="uint" value="3"/>
|
||||
<property name="theme" type="string" value="Greybird"/>
|
||||
<property name="initial-opacity" type="empty"/>
|
||||
<property name="do-fadeout" type="empty"/>
|
||||
<property name="do-fadeout" type="bool" value="true"/>
|
||||
<property name="log-max-size-enabled" type="bool" value="true"/>
|
||||
<property name="applications" type="empty">
|
||||
<property name="known_applications" type="array">
|
||||
<value type="string" value="blueman"/>
|
||||
<value type="string" value="com.uploadedlobster.peek"/>
|
||||
<value type="string" value="discord"/>
|
||||
<value type="string" value="FileZilla"/>
|
||||
<value type="string" value="flameshot"/>
|
||||
<value type="string" value="notify-send"/>
|
||||
<value type="string" value="org.freedesktop.network-manager-applet"/>
|
||||
<value type="string" value="org.kde.kdenlive"/>
|
||||
@ -29,4 +31,6 @@
|
||||
<property name="date-time-custom-format" type="string" value="%a %H:%M:%S"/>
|
||||
<property name="log-level" type="uint" value="0"/>
|
||||
<property name="log-level-apps" type="uint" value="0"/>
|
||||
<property name="do-not-disturb" type="bool" value="false"/>
|
||||
<property name="gauge-ignores-dnd" type="bool" value="false"/>
|
||||
</channel>
|
||||
|
@ -14,7 +14,6 @@
|
||||
<value type="int" value="3"/>
|
||||
<value type="int" value="4"/>
|
||||
<value type="int" value="5"/>
|
||||
<value type="int" value="6"/>
|
||||
<value type="int" value="12"/>
|
||||
<value type="int" value="8"/>
|
||||
<value type="int" value="7"/>
|
||||
@ -29,6 +28,7 @@
|
||||
<property name="mode" type="uint" value="0"/>
|
||||
<property name="autohide-behavior" type="uint" value="0"/>
|
||||
<property name="enable-struts" type="bool" value="true"/>
|
||||
<property name="output-name" type="string" value="Primary"/>
|
||||
</property>
|
||||
<property name="dark-mode" type="bool" value="false"/>
|
||||
</property>
|
||||
@ -39,15 +39,16 @@
|
||||
<value type="string" value="xfce4-terminal-emulator.desktop"/>
|
||||
</property>
|
||||
<property name="recent" type="array">
|
||||
<value type="string" value="discord.desktop"/>
|
||||
<value type="string" value="steam.desktop"/>
|
||||
<value type="string" value="xfce-keyboard-settings.desktop"/>
|
||||
<value type="string" value="Bitwarden.desktop"/>
|
||||
<value type="string" value="qmidiroute.desktop"/>
|
||||
<value type="string" value="panel-preferences.desktop"/>
|
||||
<value type="string" value="xfce-display-settings.desktop"/>
|
||||
<value type="string" value="xfce-backdrop-settings.desktop"/>
|
||||
<value type="string" value="software-properties-gtk.desktop"/>
|
||||
<value type="string" value="xfce4-settings-editor.desktop"/>
|
||||
<value type="string" value="xfce4-file-manager.desktop"/>
|
||||
<value type="string" value="org.gnome.Nibbles.desktop"/>
|
||||
<value type="string" value="xfce4-terminal-emulator.desktop"/>
|
||||
<value type="string" value="xfce-keyboard-settings.desktop"/>
|
||||
<value type="string" value="xfce4-accessibility-settings.desktop"/>
|
||||
<value type="string" value="xfce-ui-settings.desktop"/>
|
||||
<value type="string" value="discord.desktop"/>
|
||||
</property>
|
||||
</property>
|
||||
<property name="plugin-2" type="string" value="separator">
|
||||
@ -65,7 +66,6 @@
|
||||
<property name="style" type="uint" value="0"/>
|
||||
<property name="expand" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="plugin-6" type="string" value="notification-plugin"/>
|
||||
<property name="plugin-7" type="string" value="indicator">
|
||||
<property name="blacklist" type="array">
|
||||
<value type="string" value="libappmenu.so"/>
|
||||
@ -85,7 +85,7 @@
|
||||
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
||||
<property name="enable-mpris" type="bool" value="true"/>
|
||||
<property name="enable-wnck" type="bool" value="true"/>
|
||||
<property name="known-players" type="string" value="Chromium;org.gnome.Rhythmbox3;parole;qutebrowser;vlc;VSCodium"/>
|
||||
<property name="known-players" type="string" value="Chromium;cmus;ncspot;org.gnome.Rhythmbox3;parole;qutebrowser;vlc;VSCodium"/>
|
||||
<property name="mixer-command" type="string" value="pavucontrol"/>
|
||||
<property name="persistent-players" type="string" value="parole;org.gnome.Rhythmbox3"/>
|
||||
<property name="show-notifications" type="bool" value="true"/>
|
||||
@ -99,6 +99,7 @@
|
||||
<property name="plugin-11" type="string" value="pager">
|
||||
<property name="rows" type="uint" value="1"/>
|
||||
<property name="wrap-workspaces" type="bool" value="true"/>
|
||||
<property name="miniature-view" type="bool" value="true"/>
|
||||
</property>
|
||||
<property name="plugin-5" type="string" value="xfce4-clipman-plugin"/>
|
||||
<property name="clipman" type="empty">
|
||||
|
@ -18,6 +18,8 @@
|
||||
<property name="show-tray-icon" type="bool" value="false"/>
|
||||
<property name="brightness-switch" type="int" value="0"/>
|
||||
<property name="brightness-switch-restore-on-exit" type="int" value="1"/>
|
||||
<property name="presentation-mode" type="bool" value="false"/>
|
||||
<property name="presentation-mode" type="bool" value="true"/>
|
||||
<property name="inactivity-on-ac" type="uint" value="14"/>
|
||||
<property name="critical-power-action" type="uint" value="0"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<channel name="xfce4-settings-editor" version="1.0">
|
||||
<property name="last" type="empty">
|
||||
<property name="window-width" type="int" value="624"/>
|
||||
<property name="window-height" type="int" value="432"/>
|
||||
<property name="window-width" type="int" value="1910"/>
|
||||
<property name="window-height" type="int" value="1045"/>
|
||||
<property name="paned-position" type="int" value="180"/>
|
||||
</property>
|
||||
</channel>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||
<property name="urgent_blink" type="bool" value="false"/>
|
||||
<property name="use_compositing" type="bool" value="true"/>
|
||||
<property name="workspace_count" type="int" value="5"/>
|
||||
<property name="workspace_count" type="int" value="4"/>
|
||||
<property name="wrap_resistance" type="int" value="10"/>
|
||||
<property name="wrap_windows" type="bool" value="false"/>
|
||||
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||
@ -86,7 +86,12 @@
|
||||
<value type="string" value="II"/>
|
||||
<value type="string" value="III"/>
|
||||
<value type="string" value="IV"/>
|
||||
<value type="string" value="Workspace 5"/>
|
||||
<value type="string" value="V"/>
|
||||
<value type="string" value="Desktop"/>
|
||||
<value type="string" value="II"/>
|
||||
<value type="string" value="III"/>
|
||||
<value type="string" value="IV"/>
|
||||
<value type="string" value="Workspace 10"/>
|
||||
</property>
|
||||
</property>
|
||||
</channel>
|
||||
|
@ -1,14 +1,52 @@
|
||||
#!/bin/env bash
|
||||
|
||||
monitors=($(xrandr | grep " connected " | awk '{ print$1 }'))
|
||||
monitorcount=${#monitors[*]}
|
||||
names=(I II III IV V)
|
||||
path="$HOME/.config/bspwm/bspwmrc"
|
||||
tmp=$(mktemp)
|
||||
primary=$(xrandr | grep " connected" | rofi -dmenu -a | awk '{ print $1 }')
|
||||
secondary=$(xrandr | grep " connected" | grep -v "^$primary" | awk '{ print $1 }')
|
||||
use_secondary=$(printf 'Yes\nNo\n' | rofi -dmenu -e "Use secondary displays?" -format i)
|
||||
|
||||
if [ $monitorcount -eq 1 ]; then
|
||||
bspc monitor -d ${names[@]}
|
||||
else
|
||||
for((i=0; i<${monitorcount}; i++)); do
|
||||
name=${names[$i]}
|
||||
bspc monitor ${monitors[$i]} -d ${name}-0 ${name}-1
|
||||
done
|
||||
fi
|
||||
p() {
|
||||
if [ -n "$secondary" ] && [ "$use_secondary" == 0 ]; then
|
||||
printf 'bspc monitor %s -d I II III IV\n' "$primary"
|
||||
printf 'bspc monitor %s -d %s\n' "$secondary" "$secondary"
|
||||
else
|
||||
printf 'bspc monitor %s -d I II III IV V\n' "$primary"
|
||||
bspc monitor "$secondary" -r
|
||||
fi
|
||||
}
|
||||
|
||||
p | awk -v blockstart="# START MONITOR BLOCK" \
|
||||
-v blockend="# END MONITOR BLOCK" \
|
||||
-v sq="'" \
|
||||
-v nl="\n" '
|
||||
FILENAME == "-" {
|
||||
block=block $0 nl
|
||||
next
|
||||
}
|
||||
!inblock { print }
|
||||
inblock {
|
||||
lines[++bi] = $0
|
||||
}
|
||||
$0 ~ blockstart {
|
||||
inblock = 1;
|
||||
bi = 0;
|
||||
printf block
|
||||
next
|
||||
}
|
||||
$0 == blockend && inblock {
|
||||
inblock = 0;
|
||||
print blockend;
|
||||
next;
|
||||
}
|
||||
ENDFILE {
|
||||
if(inblock) {
|
||||
print nl blockend;
|
||||
for(i=1;i<=bi;i++) {
|
||||
print lines[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
' - "$path" > "$tmp" && mv "$tmp" "$path"
|
||||
chmod +x "$path"
|
||||
"$path"
|
||||
|
@ -18,14 +18,15 @@ fi
|
||||
shchemes inject "$HOME/.profile"
|
||||
|
||||
shchemes inject "$HOME/.config/qutebrowser/config.py"
|
||||
shchemes create_theme css > "$HOME/.config/base16.css"
|
||||
shchemes create_theme css > "$HOME/.config/qutebrowser/base16.css"
|
||||
pkill -HUP qutebrowser
|
||||
|
||||
BSPWM_THEME="$HOME/.config/bspwm/colors"
|
||||
shchemes create_theme bspwm > "$BSPWM_THEME"
|
||||
"$BSPWM_THEME"
|
||||
|
||||
shchemes inject "$HOME/.config/kitty/kitty.conf"
|
||||
pkill -SIGUSR1 kitty
|
||||
shchemes create_theme xfce4-terminal | shchemes merge "$HOME/.config/xfce4/terminal/terminalrc"
|
||||
|
||||
shchemes create_theme rofi > "$HOME/.config/rofi/theme.rasi"
|
||||
shchemes create_theme better-discord > "$HOME/.config/vesktop/themes/theme.css"
|
||||
@ -37,7 +38,7 @@ shchemes create_theme obsidian > "$HOME/media/vault/.obsidian/themes/base16.css"
|
||||
xfconf-query -c xsettings -p /Net/ThemeName -r
|
||||
xfconf-query -c xsettings -p /Net/ThemeName -s base16
|
||||
|
||||
le-wallpaper
|
||||
xrandr | awk '$2 == "connected" { system("le-wallpaper " $1) }'
|
||||
|
||||
# WALLPAPER_OUT="$HOME/.wallpaper.png"
|
||||
# shchemes create_theme imagemagick \
|
||||
|
@ -4,18 +4,22 @@ if [ -f "$HOME/.profile" ]; then
|
||||
source "$HOME/.profile"
|
||||
fi
|
||||
|
||||
# Note: In the future, when multi-monitor support is added, the monitor offset could be retrieved from xrandr
|
||||
# here and fed into feh using --geometry
|
||||
monitor=($(xrandr | grep " connected" | head -n 1 | awk '{ split($4, a, /[+x]/); print $1 " " a[1] " " a[2]; }'))
|
||||
monitor=($(xrandr | awk -v name="$1" '$1 == name && $2 == "connected" {
|
||||
for(i=1;i<=NF;i++) {
|
||||
if($i ~ /[0-9]+x[0-9]+\+[0-9]+\+[0-9]+/) {
|
||||
split($i, a, /[+x]/); print $1 " " a[1] " " a[2]; exit
|
||||
}
|
||||
}
|
||||
}'))
|
||||
monitor_name="${monitor[0]}"
|
||||
monitor_width="${monitor[1]}"
|
||||
monitor_height="${monitor[2]}"
|
||||
prop="/backdrop/screen0/monitor${monitor_name}/workspace0/last-image"
|
||||
|
||||
path="$1"
|
||||
path="$2"
|
||||
wallpaper_dir="$HOME/.local/share/le_wallpaper"
|
||||
wallpaper_path="${wallpaper_dir}/wallpaper.png"
|
||||
wallpaper_store="${wallpaper_dir}/source_path"
|
||||
wallpaper_path="${wallpaper_dir}/.${monitor_name}.png"
|
||||
wallpaper_store="${wallpaper_dir}/${monitor_name}_path"
|
||||
|
||||
mkdir -p "$wallpaper_dir"
|
||||
|
||||
@ -55,4 +59,5 @@ shchemes create_theme imagemagick \
|
||||
echo "Setting wallpaper: $path"
|
||||
xfconf-query -c xfce4-desktop -p "$prop" -s "$wallpaper_path"
|
||||
echo "$path" > "$wallpaper_store"
|
||||
feh --bg-center "$wallpaper_path"
|
||||
|
||||
le-wallpaper-open
|
||||
|
32
scripts/le-wallpaper-open
Executable file
32
scripts/le-wallpaper-open
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
xrandr | awk '
|
||||
function addWallpaper(i) {
|
||||
split($3, a, "+");
|
||||
b[bi] = a[2];
|
||||
c[bi] = $1;
|
||||
bi++
|
||||
}
|
||||
|
||||
$2 == "connected" {
|
||||
for(i=1;i<=NF;i++) {
|
||||
if($i ~ /[0-9]+x[0-9]+\+[0-9]+\+[0-9]+/) {
|
||||
addWallpaper(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
PROCINFO["sorted_in"] = "@val_num_asc";
|
||||
d = "feh --bg-center";
|
||||
for(i in b) {
|
||||
p="$HOME/.local/share/le_wallpaper/." c[i] ".png";
|
||||
if(system("test -f " p)) {
|
||||
p = lp;
|
||||
}
|
||||
lp = p;
|
||||
d=d " " p;
|
||||
}
|
||||
system(d);
|
||||
}
|
||||
'
|
@ -8,7 +8,7 @@ _proto_version=1
|
||||
_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(echo -n "$USER" | md5sum | cut -d' ' -f1)"
|
||||
_qute_bin="/home/dakedres/repos/qutebrowser/.venv/bin/qutebrowser"
|
||||
|
||||
printf '{"args": ["%s"], "target_arg": null, "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \
|
||||
printf '{"args": ["%s"], "target_arg": "window", "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \
|
||||
"${_url}" \
|
||||
"${_qb_version}" \
|
||||
"${_proto_version}" \
|
||||
|
@ -1,16 +1,10 @@
|
||||
#!/bin/env bash
|
||||
|
||||
monitors=($(xrandr | grep " connected " | awk '{ print$1 }'))
|
||||
monitor="${monitors[0]}"
|
||||
prop="/backdrop/screen0/monitor${monitor}/workspace0/last-image"
|
||||
wallpaper_dir="$HOME/.local/share/le_wallpaper"
|
||||
wallpaper_path="${wallpaper_dir}/wallpaper.png"
|
||||
# xrandr | awk '$2 == "connected" && $3 ~ /[0-9]+x[0-9]+\+[0-9]+\+[0-9]+/ { split($3, a, "+"); b[bi] = a[2]; c[bi] = $1; bi++ } END { PROCINFO["sorted_in"] = "@val_num_asc"; d = "feh --bg-center"; for(i in b) { d=d " $HOME/.local/share/le_wallpaper/" c[i] ".png" }; system(d) }'
|
||||
|
||||
feh --bg-scale "$wallpaper_path"
|
||||
le-wallpaper-open
|
||||
|
||||
xfconf-query -c xfce4-desktop -p "$prop" -m | while read -r line; do
|
||||
if echo "$line" | grep -e "^set:"; then
|
||||
echo "Wallpaper updated, reacting"
|
||||
le-wallpaper
|
||||
fi
|
||||
done
|
||||
xfconf-query -c xfce4-desktop -m | awk -F '/' '
|
||||
$2 == "backdrop" && $3 == "screen0" && $4 ~ /^monitor/ {
|
||||
system("le-wallpaper " substr($4, 8))
|
||||
}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user