From 2173267246baa71b83d7bab78f9855a2af89e312 Mon Sep 17 00:00:00 2001 From: Dakedres Date: Sun, 9 Nov 2025 00:19:54 -0700 Subject: [PATCH] . --- TODO | 4 + archive | 3 +- config/bspwm/bspwmrc | 52 +- config/bspwm/external-rules | 8 + config/i3/config | 18 + config/i3/default-config | 178 +++++++ config/i3/keybinds | 113 +++++ config/i3/theme | 8 + config/qutebrowser/base16.css | 44 +- config/qutebrowser/config.py | 32 +- config/sxhkd/sxhkdrc | 325 +++++------- config/sxhkd/sxhkdrc.old | 178 ++++--- config/vesktop/settings/quickCss.css | 6 - config/vesktop/settings/settings.json | 286 ++++++----- config/xfce4/xfce4-screenshooter | 10 +- .../xfconf/xfce-perchannel-xml/displays.xml | 28 +- .../xfconf/xfce-perchannel-xml/keyboards.xml | 3 +- .../xfconf/xfce-perchannel-xml/thunar.xml | 17 +- .../xfce-perchannel-xml/xfce4-appfinder.xml | 4 +- .../xfce-perchannel-xml/xfce4-desktop.xml | 469 +++++++++++++++++- .../xfce4-keyboard-shortcuts.xml | 113 ++--- .../xfce-perchannel-xml/xfce4-notifyd.xml | 22 +- .../xfce-perchannel-xml/xfce4-panel.xml | 118 ++--- .../xfce4-power-manager.xml | 20 +- .../xfce4-screenshooter.xml | 12 + .../xfce-perchannel-xml/xfce4-session.xml | 5 +- .../xfce4-settings-manager.xml | 4 +- .../xfce-perchannel-xml/xfce4-terminal.xml | 17 + .../xfconf/xfce-perchannel-xml/xfwm4.xml | 153 +++--- .../xfconf/xfce-perchannel-xml/xsettings.xml | 18 +- scripts/change-scheme | 23 +- scripts/f | 2 +- 32 files changed, 1529 insertions(+), 764 deletions(-) create mode 100644 TODO create mode 100755 config/bspwm/external-rules create mode 100644 config/i3/config create mode 100644 config/i3/default-config create mode 100644 config/i3/keybinds create mode 100644 config/i3/theme create mode 100644 config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screenshooter.xml create mode 100644 config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml diff --git a/TODO b/TODO new file mode 100644 index 0000000..796bb49 --- /dev/null +++ b/TODO @@ -0,0 +1,4 @@ +- Make bspc-column only operate on the window initially focused, as to prevent bugs with floating windows between rows in the column +- Fix slowness with XFCE Display management dialog and bspc-xfce-monitors +- Configure picom +- Finish context menu diff --git a/archive b/archive index 93a6c79..457a87f 100755 --- a/archive +++ b/archive @@ -16,9 +16,10 @@ rsync -a ~/.config/sxhkd "$config" rsync -a ~/.config/xfce4 \ --exclude 'desktop' "$config" rsync -a ~/.config/rofi "$config" +rsync -a ~/.config/i3 "$config" # cp ~/.config/picom.conf . -cd ~/bin || exit +cd ~/.local/bin || exit cp \ bsp-auto-monitors \ bsp-float \ diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 2d224c7..2bdd44c 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -1,42 +1,42 @@ #!/bin/sh +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi + +# Identify as a non-reparenting window manager wmname LG3D & -# START MONITOR BLOCK -bspc monitor HDMI-1 -d I II III IV V -# END MONITOR BLOCK +bspc config border_width 2 +bspc config window_gap 4 -bsp-key-daemon +bspc config split_ratio 0.54 -bspc config border_width 1 -bspc config window_gap 4 +bspc config pointer_modifier mod4 # When holding super: +bspc config pointer_action1 move # Left click drag moves +bspc config pointer_action2 resize_corner # Right click drag resizes -bspc config split_ratio 0.54 -bspc config borderless_monocle true -bspc config gapless_monocle true - -bspc config pointer_modifier mod4 -bspc config pointer_action1 move -# bspc config pointer_action2 resize_side -bspc config pointer_action2 resize_corner - -# Focus is on the hovered window, but the cursor is -# moved when the keyboard changes focus bspc config focus_follows_pointer true bspc config pointer_follows_focus true -# bspc rule -a \* state=pseudo_tiled +bspc config external_rules_command "$(realpath "$(dirname "$0")")/external-rules" + +bspc config automatic_scheme alternate + bspc rule -a qutebrowser state=tiled -bspc rule -a KittyScratch state=floating +# bspc rule -a KittyScratch state=floating bspc rule -a Wrapper-2.0 state=floating # Xfce start menu bspc rule -a Rofi state=floating -bspc rule -a Gimp state=floating -bspc rule -a Chromium desktop='^2' -bspc rule -a mplayer2 state=floating -bspc rule -a Kupfer.py focus=on -bspc rule -a Screenkey manage=off -xsetroot -cursor_name left_ptr & "$(dirname "$0")/colors" +watch_monitors() { + xfconf-query -c displays -m | while read -r line; do + bspc-xfce-monitors + done +} -export _JAVA_AWT_WM_NONREPARENTING=1 +watch_monitors & # Monitor daemon +pgrep -x sxhkd > /dev/null || sxhkd & # Key daemon diff --git a/config/bspwm/external-rules b/config/bspwm/external-rules new file mode 100755 index 0000000..5febc29 --- /dev/null +++ b/config/bspwm/external-rules @@ -0,0 +1,8 @@ +#!/bin/sh + +NEXT_WINDOW_RULES_PATH="/tmp/bspwm-next-window-rules" + +[ -f "$NEXT_WINDOW_RULES_PATH" ] && { + cat "$NEXT_WINDOW_RULES_PATH" + rm "$NEXT_WINDOW_RULES_PATH" +} diff --git a/config/i3/config b/config/i3/config new file mode 100644 index 0000000..83aaa00 --- /dev/null +++ b/config/i3/config @@ -0,0 +1,18 @@ +# - Settings +set $mod Mod4 +font pango:Ubuntu 9 +gaps inner 4px +gaps outer 2px + +# Drag with modifier +floating_modifier $mod +# ...or with titlebar +tiling_drag modifier titlebar + + +# Start XDG autostart .desktop files using dex. See also +# https://wiki.archlinux.org/index.php/XDG_Autostart +exec --no-startup-id dex --autostart --environment i3 + +include ./keybinds +include ./theme diff --git a/config/i3/default-config b/config/i3/default-config new file mode 100644 index 0000000..25e8244 --- /dev/null +++ b/config/i3/default-config @@ -0,0 +1,178 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:monospace 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Start XDG autostart .desktop files using dex. See also +# https://wiki.archlinux.org/index.php/XDG_Autostart +exec --no-startup-id dex --autostart --environment i3 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. + +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# move tiling windows via drag & drop by left-clicking into the title bar, +# or left-clicking anywhere into the window while holding the floating modifier. +tiling_drag modifier titlebar + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+w kill + +# A more modern dmenu replacement is rofi: +# bindcode $mod+40 exec "rofi -modi drun,run -show drun" +# There also is i3-dmenu-desktop which only displays applications shipping a +# .desktop file. It is a wrapper around dmenu, so you need that installed. +# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# toggle floating +bindsym $mod+c floating toggle + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+e layout toggle split + +# # change focus between tiling / floating windows +# bindsym $mod+space focus mode_toggle + +# Launch application manager +bindsym $mod+space exec rofi -show drun -show-icons + +# Qutesearch +bindsym $mod+o exec qutesearch + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 + +# reload the configuration file +bindsym $mod+Escape reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + status_command i3status +} diff --git a/config/i3/keybinds b/config/i3/keybinds new file mode 100644 index 0000000..3f8a6b5 --- /dev/null +++ b/config/i3/keybinds @@ -0,0 +1,113 @@ + +# -- Meta + +# Reload i3's configuration file +bindsym $mod+Escape reload + +# Restart i3 in-place (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+Escape restart + +# Exit i3 (log out) +bindsym $mod+Shift+space exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +# -- Media + +# Raise volume +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status + +# Lower volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status + +# Mute audio +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status + +# Mute mic +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +# -- Applications + +# Open terminal +bindsym $mod+Return exec xfce4-terminal + +# Open application launcher +bindsym $mod+space exec rofi -show drun -show-icons + +# Qutesearch +bindsym $mod+o exec qutesearch + +bindsym $mod+p exec flameshot gui + +# -- Window management + +# Close application +bindsym $mod+w kill + +# Toggle floating +bindsym $mod+c floating toggle + +# Toggle fullscreen +bindsym $mod+f fullscreen toggle + +# Horizontal Split +bindsym $mod+b split h + +# Vertical Split +bindsym $mod+v split v + +# Rotate (toggle split) +bindsym $mod+e layout toggle split + +# Toggle container stacking +bindsym $mod+s layout stacking + +# Focus left +bindsym $mod+h focus left +bindsym $mod+Left focus left +# Focus down +bindsym $mod+j focus down +bindsym $mod+Down focus down +bindsym $mod+x focus down +# Focus up +bindsym $mod+k focus up +bindsym $mod+z focus up +bindsym $mod+Up focus up +# Focus right +bindsym $mod+l focus right +bindsym $mod+Right focus right + +# Move left +bindsym $mod+Shift+h move left +bindsym $mod+Shift+Left move left +# Move down +bindsym $mod+Shift+j move down +bindsym $mod+Shift+Down move down +# Move up +bindsym $mod+Shift+k move up +bindsym $mod+Shift+Up move up +# Move right +bindsym $mod+Shift+l move right +bindsym $mod+Shift+Right move right + +# -- Workspaces + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" + +# Switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 + +# Move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 diff --git a/config/i3/theme b/config/i3/theme new file mode 100644 index 0000000..49a628f --- /dev/null +++ b/config/i3/theme @@ -0,0 +1,8 @@ +# class border background text indicator child_border +client.focused #75715e #383830 #f9f8f5 #f9f8f5 #75715e +client.focused_inactive #75715e #272822 #f8f8f2 #f9f8f5 #383830 +client.unfocused #49483e #272822 #f8f8f2 #f9f8f5 #383830 +client.urgent #49483e #272822 #a59f85 #f9f8f5 #383830 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c + +client.background #ffffff \ No newline at end of file diff --git a/config/qutebrowser/base16.css b/config/qutebrowser/base16.css index 4057c79..857b0d0 100644 --- a/config/qutebrowser/base16.css +++ b/config/qutebrowser/base16.css @@ -1,27 +1,27 @@ # :root { - # --vii: #3a3432; - # --vi: #5c5855; - # --v: #db2d20; - # --iv: #a5a2a2; - # --iiv: #f7f7f7; - # --a: #b5e4f4; + # --vii: #383830; + # --vi: #75715e; + # --v: #f92672; + # --iv: #f8f8f2; + # --iiv: #f9f8f5; + # --a: #a1efe4; # } :root { - --base00: #090300; - --base01: #3a3432; - --base02: #4a4543; - --base03: #5c5855; - --base04: #807d7c; - --base05: #a5a2a2; - --base06: #d6d5d4; - --base07: #f7f7f7; - --base08: #db2d20; - --base09: #e8bbd0; - --base0A: #fded02; - --base0B: #01a252; - --base0C: #b5e4f4; - --base0D: #01a0e4; - --base0E: #a16a94; - --base0F: #cdab53; + --base00: #272822; + --base01: #383830; + --base02: #49483e; + --base03: #75715e; + --base04: #a59f85; + --base05: #f8f8f2; + --base06: #f5f4f1; + --base07: #f9f8f5; + --base08: #f92672; + --base09: #fd971f; + --base0A: #f4bf75; + --base0B: #a6e22e; + --base0C: #a1efe4; + --base0D: #66d9ef; + --base0E: #ae81ff; + --base0F: #cc6633; } diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 7de4a0e..e0de83c 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -55,22 +55,22 @@ c.content.user_stylesheets = "base16.css" # Template author: theova # Commentary: Tinted Theming: (https://github.com/tinted-theming) -base00 = "#090300" -base01 = "#3a3432" -base02 = "#4a4543" -base03 = "#5c5855" -base04 = "#807d7c" -base05 = "#a5a2a2" -base06 = "#d6d5d4" -base07 = "#f7f7f7" -base08 = "#db2d20" -base09 = "#e8bbd0" -base0A = "#fded02" -base0B = "#01a252" -base0C = "#b5e4f4" -base0D = "#01a0e4" -base0E = "#a16a94" -base0F = "#cdab53" +base00 = "#272822" +base01 = "#383830" +base02 = "#49483e" +base03 = "#75715e" +base04 = "#a59f85" +base05 = "#f8f8f2" +base06 = "#f5f4f1" +base07 = "#f9f8f5" +base08 = "#f92672" +base09 = "#fd971f" +base0A = "#f4bf75" +base0B = "#a6e22e" +base0C = "#a1efe4" +base0D = "#66d9ef" +base0E = "#ae81ff" +base0F = "#cc6633" # set qutebrowser colors diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index 1edb897..25b290c 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -1,201 +1,16 @@ # -# wm independent hotkeys +# Meta # -# Open kitty -super + Return - xfce4-terminal - -# Open floating kitty -super + shift + Return - bsp-float xfce4-terminal - -# launch program (drun) -super + @space - rofi -show drun -show-icons - -# launch program (standard run) -super + shift + @space - rofi -show run - -# make sxhkd reload its configuration files: +# Reload SXHKD super + Escape - pkill -USR1 -x sxhkd && notify-send 'Key daemon reloaded' - -super + alt + Menu - le-keyboard && notify-send 'Remapped Keyboard' - -# Start a qutebrowser search -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 + le-keyboard && + pkill -USR1 -x sxhkd && + notify-send 'Key daemon reloaded' # Show keybinds super + slash - sxhkd-help - -# Show clipmenu -super + v - xfce4-popup-clipman - -# Exit session -super + q - xflock4 - -# Lock screen -super + shift + q - xfce4-session-logout - -# Open task manager -super + t - # Arguable how valuable this is tbh - bsp-float xfce4-taskmanager - -# Screenshot region -XF86Launch5 - flameshot gui - # xfce4-screenshooter -r - -# Manage audio profiles[57362;10u] -super + shift + Pause - le-audio - -# Cycle audio profile on default sink -super + Pause - le-audio -afc - -# -# bspwm hotkeys -# - -# quit/restart bspwm -super + shift + {q,r} - bspc {quit,wm -r} - -# close and kill -super + {_,shift + }w - bspc node -{c,k} - -# superernate between the tiled and monocle layout -super + m - bspc desktop -l next - -# swap the current node and the biggest window -super + g - bspc node -s biggest.window - -# -# state/flags -# - -# 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} - bspc node -g {marked,locked,sticky,private} - -# -# focus/swap -# - -# 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} - -# Rotate focus clockwise/counterclockwise -super + {d,a} - bspc node -f {next,prev}.local.window - -# focus the last node/desktop -super + {grave,Tab} - bspc {node,desktop} -f last - -# focus or send to the given desktop -super + {_,shift + }{1-6} - bspc {desktop -f,node -d} '^{1-6}' - -# -# preselect -# - -# preselect the direction -super + ctrl + shift {h,j,k,l,Left,Down,Up,Right} - bspc node -p {west,south,north,east,west,south,north,east} - -# cancel the preselection for the focused node -super + ctrl + space - bspc node -p cancel - -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# swap current window with preselection -super + s - bspc node -n last.\!automatic -t tiled - -# -# move/resize -# - -# Resize a window by moving one of its side outward/inward -super + s ; {h,j,k,l,Left,Down,Up,Right} - STEP=20; SELECTION={1,2,3,4,1,2,3,4}; \ - bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \ - bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION) - -# move a floating window -super + {h,j,k,l} - bspc node -v {-30 0,0 20,0 -30,20 0} - -# move a window -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 -# - -super + 8 - vesktop - -super + 9 - bitwarden - -super + 0 - kitty -e micro + sxh-help # # Media @@ -220,3 +35,131 @@ XF86AudioPrev # Stop track XF86AudioStop playerctl stop + +# +# Applications +# + +# Open terminal +super + Return + xfce4-terminal + +# Launch program (drun) +super + @space + rofi -show drun -show-icons + +# Launch floating program +super + shift + button2 + slop + +# Open window management context menu +super + button2 + bspc-context-menu + +# Run command +super + shift + @space + rofi -show run + +# +# XFCE +# + +# Show clipboard +super + v + xfce4-popup-clipman + +# Lock screen +super + q + xflock4 + +# Session options +super + shift + q + xfce4-session-logout + +# +# Screen capturing +# + +# Grab color and put in clipboard +shift + XF86Launch5 + flameshot gui + + +# Screenshot region +XF86Launch5 + commentmenu 'grabc | xclip -sel clipboard # Put color in clipboard\nflameshot gui # Capture region' | sh + +# +# Qutebrowser +# + +# Make a qutebrowser search +super + o + qutesearch + +# # Preselect below and make a qutebrowser search +# super + p +# bspc node -p south -o 0.01 \ +# && qutesearch \ +# || bspc node -p cancel + +# +# Focus +# + +# Move focus west/south/north/east +super + {h,j,k,l,Left,Down,Up,Right} + bspc node -{f} {west,south,north,east,west,south,north,east} + +# Move focus forward/backward in stack +super + {d,a} + bspc node -f {next,prev}.local.window + +# Focus or send to desktop +super + {_,shift + }{1-9} + bspc {desktop -f,node -d} '^{1-9}' + +# +# Window management +# + +# Close or kill window +super + {_,shift + }w + bspc node -{c,k} + +# Move window west/south/north/east +super + shift + {h,j,k,l,Left,Down,Up,Right} + bspc-smart-move {west,south,north,east,west,south,north,east} + +# Maximize below/above +super + {x,z} + bspc-column {up,down} + +# Toggle floating/tiled +super + c + bspc node 'focused.!tiled' -t tiled || bspc node 'focused.!floating' -t floating + +# Toggle fullscreen +super + f + bspc node 'focused.!fullscreen' -t fullscreen || bspc node 'focused.!tiled' -t tiled + + +# Switch between tiled and stacked layout +super + m + bspc desktop -l next + +# +# Preselection +# + +# Preselect in a direction +super + ctrl + shift {h,j,k,l,Left,Down,Up,Right} + bspc node -p {west,south,north,east,west,south,north,east} + +# Cancel all preselections in desktop +super + ctrl + space + bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel + +# Swap current window with preselection +super + s + bspc node -n last.\!automatic -t tiled diff --git a/config/sxhkd/sxhkdrc.old b/config/sxhkd/sxhkdrc.old index 4db552f..f0138e3 100644 --- a/config/sxhkd/sxhkdrc.old +++ b/config/sxhkd/sxhkdrc.old @@ -1,105 +1,127 @@ # # wm independent hotkeys # - -Super_L ; Return - kitty -# # Open kitty -# super + Return -# kitty +# Open terminal +super + Return + xfce4-terminal -# Open floating kitty -# Super_L ; shift + Return -# bsp-float kitty +# Open floating terminal +super + shift + Return + bsp-float xfce4-terminal # launch program (drun) -Super_L ; @space +super + @space rofi -show drun -show-icons # launch program (standard run) -# Super_L ; shift + @space -# rofi -show run +super + shift + @space + rofi -show run # make sxhkd reload its configuration files: -Super_L ; Escape +super + Escape pkill -USR1 -x sxhkd && notify-send 'Key daemon reloaded' super + alt + Menu le-keyboard && notify-send 'Remapped Keyboard' # Start a qutebrowser search -Super_L ; o +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_L ; slash +super + slash sxhkd-help # Show clipmenu -Super_L ; v +super + v xfce4-popup-clipman # Exit session -# Super_L ; shift + q -# xfce4-session-logout - -# Lock screen -Super_L ; q +super + q xflock4 +# Lock screen +super + shift + q + xfce4-session-logout + # Open task manager -Super_L ; t +super + t # Arguable how valuable this is tbh bsp-float xfce4-taskmanager # Screenshot region -Super_L ; Print - xfce4-screenshooter -r +XF86Launch5 + flameshot gui + # xfce4-screenshooter -r + +# Manage audio profiles[57362;10u] +super + shift + Pause + le-audio + +# Cycle audio profile on default sink +super + Pause + le-audio -afc # # bspwm hotkeys # +# quit/restart bspwm +super + shift + {q,r} + bspc {quit,wm -r} + # close and kill -Super_L ; {_,shift + }w +super + {_,shift + }w bspc node -{c,k} # superernate between the tiled and monocle layout -F3 +super + m bspc desktop -l next -# send the newest marked node to the newest preselected node -Super_L ; y - bspc node newest.marked.local -n newest.!automatic.local - -# Plumb selected text -Super_L ; c - zsh -c "$(sselp | goawk $(cat ~/plumber.awk))" +# swap the current node and the biggest window +super + g + bspc node -s biggest.window # # state/flags # -# set the window state -Super_L ; {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} + bspc node -g {marked,locked,sticky,private} # # focus/swap # -# focus the node in the given direction -super + {w,a,s,d,j,k,i,l,Left,Down,Up,Right} - bspc node -f {west,south,north,east,west,south,north,east,west,south,north,east} +# 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} -# Change window, counterclockwise/clockwise -{F1,F2} - bspc node -f {prev,next}.local.!hidden.window - -# focus the next/previous desktop in the current monitor -super + bracket{left,right} - bspc desktop -f {prev,next}.local +# Rotate focus clockwise/counterclockwise +super + {d,a} + bspc node -f {next,prev}.local.window # focus the last node/desktop super + {grave,Tab} @@ -116,11 +138,7 @@ super + {_,shift + }{1-6} # preselect the direction super + ctrl + shift {h,j,k,l,Left,Down,Up,Right} bspc node -p {west,south,north,east,west,south,north,east} - -# preselect the ratio -super + ctrl + {1-9} - bspc node -o 0.{1-9} - + # cancel the preselection for the focused node super + ctrl + space bspc node -p cancel @@ -129,24 +147,42 @@ super + ctrl + space super + ctrl + shift + space bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel +# swap current window with preselection +super + s + bspc node -n last.\!automatic -t tiled + # # move/resize # - # Resize a window by moving one of its side outward/inward -# Super_L ; {w,a,s,d,j,k,i,l,Left,Down,Up,Right} - # STEP=20; SELECTION={1,2,3,4,1,2,3,4,1,2,3,4}; \ - # bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \ - # bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION) +super + s ; {h,j,k,l,Left,Down,Up,Right} + STEP=20; SELECTION={1,2,3,4,1,2,3,4}; \ + bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \ + bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION) # move a floating window super + {h,j,k,l} bspc node -v {-30 0,0 20,0 -30,20 0} # move a window -super + shift + {w,s,a,d,j,k,i,l,Left,Down,Up,Right} - bsp-smove {west,south,north,east,west,south,north,east,west,south,north,east} +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 @@ -159,4 +195,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 diff --git a/config/vesktop/settings/quickCss.css b/config/vesktop/settings/quickCss.css index f04baa6..e69de29 100644 --- a/config/vesktop/settings/quickCss.css +++ b/config/vesktop/settings/quickCss.css @@ -1,6 +0,0 @@ -@media screen and (max-width: 1280px) { - /* Hide guild members sidebar */ - .container_cbd271 { - display: none; - } -} diff --git a/config/vesktop/settings/settings.json b/config/vesktop/settings/settings.json index 364ea30..f8da9a9 100644 --- a/config/vesktop/settings/settings.json +++ b/config/vesktop/settings/settings.json @@ -1,11 +1,12 @@ { - "notifyAboutUpdates": true, - "autoUpdate": false, + "autoUpdate": true, "autoUpdateNotification": true, "useQuickCss": true, "themeLinks": [], + "eagerPatches": false, "enabledThemes": [ - "theme.css" + "old-cord.theme.css", + "shchemes.css" ], "enableReactDevtools": false, "frameless": false, @@ -14,17 +15,14 @@ "disableMinSize": false, "winNativeTitleBar": false, "plugins": { - "BadgeAPI": { - "enabled": true - }, "ChatInputButtonAPI": { "enabled": false }, "CommandsAPI": { "enabled": true }, - "ContextMenuAPI": { - "enabled": true + "DynamicImageModalAPI": { + "enabled": false }, "MemberListDecoratorsAPI": { "enabled": false @@ -41,32 +39,33 @@ "MessagePopoverAPI": { "enabled": false }, - "NoticesAPI": { - "enabled": true + "MessageUpdaterAPI": { + "enabled": false }, "ServerListAPI": { "enabled": false }, - "NoTrack": { - "enabled": true, - "disableAnalytics": true - }, - "Settings": { - "enabled": true, - "settingsLocation": "aboveActivity" - }, - "SupportHelper": { + "UserSettingsAPI": { "enabled": true }, + "AccountPanelServerProfile": { + "enabled": false + }, "AlwaysAnimate": { "enabled": false }, + "AlwaysExpandRoles": { + "enabled": false + }, "AlwaysTrust": { "enabled": false }, "AnonymiseFileNames": { "enabled": false }, + "AppleMusicRichPresence": { + "enabled": false + }, "WebRichPresence (arRPC)": { "enabled": false }, @@ -91,6 +90,9 @@ "BetterRoleDot": { "enabled": false }, + "BetterSessions": { + "enabled": false + }, "BetterSettings": { "enabled": false }, @@ -115,22 +117,35 @@ "ColorSighted": { "enabled": false }, + "ConsoleJanitor": { + "enabled": false + }, "ConsoleShortcuts": { "enabled": false }, + "CopyEmojiMarkdown": { + "enabled": false + }, + "CopyFileContents": { + "enabled": false + }, "CopyUserURLs": { "enabled": false }, "CrashHandler": { "enabled": true }, + "CtrlEnterSend": { + "enabled": false + }, "CustomRPC": { "enabled": false }, + "CustomIdle": { + "enabled": false + }, "Dearrow": { - "enabled": true, - "hideButton": false, - "replaceElements": 0 + "enabled": false }, "Decor": { "enabled": false @@ -138,11 +153,12 @@ "DisableCallIdle": { "enabled": false }, - "EmoteCloner": { + "DontRoundMyTimestamps": { "enabled": false }, "Experiments": { - "enabled": false + "enabled": true, + "toolbarDevMenu": false }, "F8Break": { "enabled": false @@ -162,6 +178,9 @@ "FixCodeblockGap": { "enabled": false }, + "FixImagesQuality": { + "enabled": false + }, "FixSpotifyEmbeds": { "enabled": false }, @@ -177,6 +196,12 @@ "FriendsSince": { "enabled": false }, + "FullSearchContext": { + "enabled": false + }, + "FullUserInChatbox": { + "enabled": false + }, "GameActivityToggle": { "enabled": false }, @@ -186,18 +211,30 @@ "GreetStickerPicker": { "enabled": false }, + "HideMedia": { + "enabled": false + }, "iLoveSpam": { "enabled": false }, "IgnoreActivities": { "enabled": false }, + "ImageLink": { + "enabled": false + }, "ImageZoom": { "enabled": false }, + "ImplicitRelationships": { + "enabled": false + }, "InvisibleChat": { "enabled": false }, + "IrcColors": { + "enabled": false + }, "KeepCurrentChannel": { "enabled": false }, @@ -210,9 +247,15 @@ "MemberCount": { "enabled": false }, + "MentionAvatars": { + "enabled": false + }, "MessageClickActions": { "enabled": false }, + "MessageLatency": { + "enabled": false + }, "MessageLinkEmbeds": { "enabled": false }, @@ -228,9 +271,6 @@ "MoreKaomoji": { "enabled": false }, - "MoreUserTags": { - "enabled": false - }, "Moyai": { "enabled": false }, @@ -249,9 +289,15 @@ "NoF1": { "enabled": false }, + "NoMaskedUrlPaste": { + "enabled": false + }, "NoMosaic": { "enabled": false }, + "NoOnboardingDelay": { + "enabled": false + }, "NoPendingCount": { "enabled": false }, @@ -261,7 +307,7 @@ "NoReplyMention": { "enabled": false }, - "NoScreensharePreview": { + "NoServerEmojis": { "enabled": false }, "NoTypingAnimation": { @@ -276,9 +322,6 @@ "NotificationVolume": { "enabled": false }, - "NSFWGateBypass": { - "enabled": false - }, "OnePingPerDM": { "enabled": false }, @@ -291,6 +334,12 @@ "OverrideForumDefaults": { "enabled": false }, + "PartyMode": { + "enabled": false + }, + "PauseInvitesForever": { + "enabled": false + }, "PermissionFreeWill": { "enabled": false }, @@ -330,7 +379,10 @@ "RelationshipNotifier": { "enabled": false }, - "ResurrectHome": { + "ReplaceGoogleSearch": { + "enabled": false + }, + "ReplyTimestamp": { "enabled": false }, "RevealAllSpoilers": { @@ -348,9 +400,15 @@ "SecretRingToneEnabler": { "enabled": false }, + "Summaries": { + "enabled": false + }, "SendTimestamps": { "enabled": false }, + "ServerInfo": { + "enabled": false + }, "ServerListIndicators": { "enabled": false }, @@ -366,9 +424,15 @@ "ShowHiddenChannels": { "enabled": false }, + "ShowHiddenThings": { + "enabled": false + }, "ShowMeYourName": { "enabled": false }, + "ShowTimeoutDuration": { + "enabled": false + }, "SilentMessageToggle": { "enabled": false }, @@ -390,6 +454,12 @@ "StartupTimings": { "enabled": false }, + "StickerPaste": { + "enabled": false + }, + "StreamerModeOnStream": { + "enabled": false + }, "SuperReactionTweaks": { "enabled": false }, @@ -399,9 +469,6 @@ "ThemeAttributes": { "enabled": false }, - "TimeBarAllActivities": { - "enabled": false - }, "Translate": { "enabled": false }, @@ -414,10 +481,13 @@ "Unindent": { "enabled": false }, + "UnlockedAvatarZoom": { + "enabled": false + }, "UnsuppressEmbeds": { "enabled": false }, - "UrbanDictionary": { + "UserMessagesPronouns": { "enabled": false }, "UserVoiceShow": { @@ -426,6 +496,9 @@ "USRBG": { "enabled": false }, + "ValidReply": { + "enabled": false + }, "ValidUser": { "enabled": false }, @@ -444,131 +517,51 @@ "ViewRaw": { "enabled": false }, + "VoiceDownload": { + "enabled": false + }, "VoiceMessages": { "enabled": false }, - "WebContextMenus": { - "enabled": true, - "addBack": true + "VolumeBooster": { + "enabled": false }, "WebKeybinds": { "enabled": true }, + "WebScreenShareFixes": { + "enabled": true + }, "WhoReacted": { "enabled": false }, - "Wikisearch": { - "enabled": false - }, "XSOverlay": { "enabled": false }, - "UnlockedAvatarZoom": { - "enabled": false - }, - "ShowHiddenThings": { - "enabled": false - }, - "BetterSessions": { - "enabled": false - }, - "ImplicitRelationships": { - "enabled": false - }, - "StreamerModeOnStream": { - "enabled": false - }, - "PartyMode": { - "enabled": false - }, - "MessageUpdaterAPI": { - "enabled": false - }, - "AutomodContext": { - "enabled": false - }, - "CtrlEnterSend": { - "enabled": false - }, - "CustomIdle": { - "enabled": false - }, - "DontRoundMyTimestamps": { - "enabled": false - }, - "ImageLink": { - "enabled": false - }, - "MaskedLinkPaste": { - "enabled": false - }, - "MessageLatency": { - "enabled": false - }, - "NoDefaultHangStatus": { - "enabled": false - }, - "NoServerEmojis": { - "enabled": false - }, - "PauseInvitesForever": { - "enabled": false - }, - "ReplaceGoogleSearch": { - "enabled": false - }, - "ReplyTimestamp": { - "enabled": false - }, - "Summaries": { - "enabled": false - }, - "ShowTimeoutDuration": { - "enabled": false - }, - "ValidReply": { - "enabled": false - }, - "VoiceDownload": { - "enabled": false - }, - "WebScreenShareFixes": { - "enabled": true - }, - "ServerInfo": { - "enabled": false - }, - "UserSettingsAPI": { - "enabled": true - }, - "AppleMusicRichPresence": { - "enabled": false - }, - "ConsoleJanitor": { - "enabled": false - }, - "CopyEmojiMarkdown": { - "enabled": false - }, - "MentionAvatars": { - "enabled": false - }, - "NoOnboardingDelay": { - "enabled": false - }, - "AlwaysExpandRoles": { - "enabled": false - }, "YoutubeAdblock": { - "enabled": false + "enabled": true }, - "FullSearchContext": { - "enabled": false + "BadgeAPI": { + "enabled": true }, - "UserMessagesPronouns": { - "enabled": false + "NoTrack": { + "enabled": true, + "disableAnalytics": true }, - "HideMedia": { + "Settings": { + "enabled": true, + "settingsLocation": "aboveNitro" + }, + "DisableDeepLinks": { + "enabled": true + }, + "SupportHelper": { + "enabled": true + }, + "WebContextMenus": { + "enabled": true + }, + "ExpressionCloner": { "enabled": false } }, @@ -582,7 +575,6 @@ "authenticated": false, "url": "https://api.vencord.dev/", "settingsSync": false, - "settingsSyncVersion": 1739774681370 - }, - "eagerPatches": false + "settingsSyncVersion": 1748987857207 + } } \ No newline at end of file diff --git a/config/xfce4/xfce4-screenshooter b/config/xfce4/xfce4-screenshooter index 7ac6456..b8d2991 100644 --- a/config/xfce4/xfce4-screenshooter +++ b/config/xfce4/xfce4-screenshooter @@ -1,12 +1,12 @@ -app=/usr/bin/display-im6.q16 -custom_action_command=none +app=/usr/bin/flatpak +custom_action_command=/usr/libexec/xfce4/screenshooter/scripts/imgur-upload.sh %f %imgur_client_id last_user= last_extension=png enable_imgur_upload=true show_in_folder=false -screenshot_dir=file:/home/dakedres -action=2 -delay=0 +screenshot_dir=file:/home/dakedres/Pictures +action=1 +delay=5 region=3 show_mouse=1 show_border=1 diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/displays.xml b/config/xfce4/xfconf/xfce-perchannel-xml/displays.xml index aa335ed..797909f 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/displays.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/displays.xml @@ -1,4 +1,4 @@ - + @@ -16,18 +16,18 @@ - + - + - - - + + + - + @@ -52,18 +52,18 @@ - + - + - - - + + + - + @@ -75,5 +75,5 @@ - + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml b/config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml index 2451271..9ddc443 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml @@ -2,7 +2,6 @@ - - + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index cae4530..4e64ee6 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -1,4 +1,4 @@ - + @@ -9,14 +9,15 @@ - - + - - + + + - - - + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml index 0f3ab99..471eb33 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -35,8 +35,8 @@ - - + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml index 36c4534..52d50be 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -1,21 +1,21 @@ - + - + - + - + - + @@ -36,36 +36,477 @@ - - - + + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -73,7 +514,7 @@ - - + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml index 20d31cb..f10f2bb 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -43,10 +43,6 @@ - - - - @@ -124,67 +120,72 @@ - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml index 40af56b..55e4205 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -1,36 +1,24 @@ - - + + - + - - - - + - - + - - - - - - - - diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml index 900bc15..55a514f 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -1,91 +1,47 @@ - + - + - - - - - - - - + + + + + + + + - + - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + @@ -96,35 +52,29 @@ - - - - + + + - - - - - - - - + + + + - + - - - - - - - - - + + - + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml index a4b51fc..f917bbb 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -1,25 +1,25 @@ - + - - + + - + - + - + - - - - + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screenshooter.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screenshooter.xml new file mode 100644 index 0000000..58061a3 --- /dev/null +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screenshooter.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml index 4ad5c08..20c5783 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -6,14 +6,13 @@ + - - - + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml index ed9a7b3..2e112e3 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -2,7 +2,7 @@ - - + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml new file mode 100644 index 0000000..64c975d --- /dev/null +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml index 5d62505..54d710c 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -1,57 +1,57 @@ - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - + @@ -65,12 +65,12 @@ - + - + @@ -82,16 +82,53 @@ - - - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml index 6fb74ca..12317a6 100644 --- a/config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -1,9 +1,9 @@ - + - - + + @@ -25,12 +25,10 @@ - - + + - - @@ -39,11 +37,13 @@ + + - + - + diff --git a/scripts/change-scheme b/scripts/change-scheme index 450099e..0d0f0df 100755 --- a/scripts/change-scheme +++ b/scripts/change-scheme @@ -11,32 +11,33 @@ if [[ -n "$1" ]]; then export SCHEME=$1 fi -if ! shchemes install_tinted_scheme; then - exit 1 +if [ ! -r "$(shchemes path)" ]; then + if ! shchemes install_tinted_scheme; then + exit 1 + fi fi -shchemes inject "$HOME/.profile" +# 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 create_theme xfce4-terminal | sh -shchemes create_theme xfce4-terminal | shchemes merge "$HOME/.config/xfce4/terminal/terminalrc" +shchemes create_theme i3 > "$HOME/.config/i3/theme" +i3-msg reload shchemes create_theme rofi > "$HOME/.config/rofi/theme.rasi" shchemes create_theme better-discord > "$HOME/.config/vesktop/themes/theme.css" -shchemes create_theme obsidian > "$HOME/media/vault/.obsidian/themes/base16.css" +# shchemes create_theme obsidian > "$HOME/media/vault/.obsidian/themes/base16.css" -"$HOME/repos/oomox-gtk-theme/change_color.sh" -o base16 <(shchemes create_theme oomox-gtk) +# "$HOME/repos/oomox-gtk-theme/change_color.sh" -o base16 <(shchemes create_theme oomox-gtk) # Reload XFCE theme -xfconf-query -c xsettings -p /Net/ThemeName -r -xfconf-query -c xsettings -p /Net/ThemeName -s base16 +# xfconf-query -c xsettings -p /Net/ThemeName -r +# xfconf-query -c xsettings -p /Net/ThemeName -s base16 xrandr | awk '$2 == "connected" { system("le-wallpaper " $1) }' diff --git a/scripts/f b/scripts/f index c726c6c..7db3286 100755 --- a/scripts/f +++ b/scripts/f @@ -7,7 +7,7 @@ if [ -z "$path" ]; then fi if [ -d "$path" ]; then - ls -lh --color=tty "$path" + ls -lha --color=tty "$path" else if [ ! -f "$path" ]; then echo "No such file: $path"