summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-10-19 11:11:29 -0500
committerzachir <zachir@librem.one>2023-10-19 11:11:29 -0500
commit9c6542ba30f9579316eb2dddd2eca7dd6b8d2389 (patch)
tree9161f1825b2ec584941253a90f24d43a05150ee5
parent6e392f8f0e99274bb6f910d8fc34e335648d1c26 (diff)
parentc81018b4514b26a6f5716deb2100a7a0b88c9aa2 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cas-master
-rw-r--r--.gitignore10
-rw-r--r--.gitmodules6
-rw-r--r--X11/Xresources10
-rwxr-xr-xX11/xinitrc5
-rwxr-xr-xX11/xprofile (renamed from river/sp/sp_q)2
-rwxr-xr-xautostart.sh31
m---------awesome/awesome-wm-widgets0
m---------awesome/bling0
-rw-r--r--awesome/rc.lua1110
-rw-r--r--awesome/themes/zachir/README3
l---------awesome/themes/zachir/background.jpg1
-rw-r--r--awesome/themes/zachir/background.pngbin0 -> 222973 bytes
-rw-r--r--awesome/themes/zachir/background_white.pngbin0 -> 267935 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornerne.pngbin0 -> 272 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornernew.pngbin0 -> 272 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornernw.pngbin0 -> 263 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornernww.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornerse.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornersew.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornersw.pngbin0 -> 263 bytes
-rw-r--r--awesome/themes/zachir/layouts/cornersww.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/dwindle.pngbin0 -> 320 bytes
-rw-r--r--awesome/themes/zachir/layouts/dwindlew.pngbin0 -> 320 bytes
-rw-r--r--awesome/themes/zachir/layouts/fairh.pngbin0 -> 245 bytes
-rw-r--r--awesome/themes/zachir/layouts/fairhw.pngbin0 -> 245 bytes
-rw-r--r--awesome/themes/zachir/layouts/fairv.pngbin0 -> 246 bytes
-rw-r--r--awesome/themes/zachir/layouts/fairvw.pngbin0 -> 246 bytes
-rw-r--r--awesome/themes/zachir/layouts/floating.pngbin0 -> 282 bytes
-rw-r--r--awesome/themes/zachir/layouts/floatingw.pngbin0 -> 282 bytes
-rw-r--r--awesome/themes/zachir/layouts/fullscreen.pngbin0 -> 866 bytes
-rw-r--r--awesome/themes/zachir/layouts/fullscreenw.pngbin0 -> 865 bytes
-rw-r--r--awesome/themes/zachir/layouts/magnifier.pngbin0 -> 345 bytes
-rw-r--r--awesome/themes/zachir/layouts/magnifierw.pngbin0 -> 345 bytes
-rw-r--r--awesome/themes/zachir/layouts/max.pngbin0 -> 574 bytes
-rw-r--r--awesome/themes/zachir/layouts/maxw.pngbin0 -> 581 bytes
-rw-r--r--awesome/themes/zachir/layouts/spiral.pngbin0 -> 328 bytes
-rw-r--r--awesome/themes/zachir/layouts/spiralw.pngbin0 -> 328 bytes
-rw-r--r--awesome/themes/zachir/layouts/tile.pngbin0 -> 265 bytes
-rw-r--r--awesome/themes/zachir/layouts/tilebottom.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/tilebottomw.pngbin0 -> 264 bytes
-rw-r--r--awesome/themes/zachir/layouts/tileleft.pngbin0 -> 266 bytes
-rw-r--r--awesome/themes/zachir/layouts/tileleftw.pngbin0 -> 266 bytes
-rw-r--r--awesome/themes/zachir/layouts/tiletop.pngbin0 -> 260 bytes
-rw-r--r--awesome/themes/zachir/layouts/tiletopw.pngbin0 -> 265 bytes
-rw-r--r--awesome/themes/zachir/layouts/tilew.pngbin0 -> 265 bytes
-rw-r--r--awesome/themes/zachir/submenu.pngbin0 -> 440 bytes
-rw-r--r--awesome/themes/zachir/taglist/squarefw.pngbin0 -> 187 bytes
-rw-r--r--awesome/themes/zachir/taglist/squarew.pngbin0 -> 193 bytes
-rw-r--r--awesome/themes/zachir/theme.lua240
-rw-r--r--awesome/themes/zachir/titlebar/close_focus.pngbin0 -> 966 bytes
-rw-r--r--awesome/themes/zachir/titlebar/close_normal.pngbin0 -> 966 bytes
-rw-r--r--awesome/themes/zachir/titlebar/floating_focus_active.pngbin0 -> 386 bytes
-rw-r--r--awesome/themes/zachir/titlebar/floating_focus_inactive.pngbin0 -> 237 bytes
-rw-r--r--awesome/themes/zachir/titlebar/floating_normal_active.pngbin0 -> 386 bytes
-rw-r--r--awesome/themes/zachir/titlebar/floating_normal_inactive.pngbin0 -> 237 bytes
-rw-r--r--awesome/themes/zachir/titlebar/maximized_focus_active.pngbin0 -> 480 bytes
-rw-r--r--awesome/themes/zachir/titlebar/maximized_focus_inactive.pngbin0 -> 452 bytes
-rw-r--r--awesome/themes/zachir/titlebar/maximized_normal_active.pngbin0 -> 480 bytes
-rw-r--r--awesome/themes/zachir/titlebar/maximized_normal_inactive.pngbin0 -> 452 bytes
-rw-r--r--awesome/themes/zachir/titlebar/minimize_focus.pngbin0 -> 234 bytes
-rw-r--r--awesome/themes/zachir/titlebar/minimize_normal.pngbin0 -> 225 bytes
-rw-r--r--awesome/themes/zachir/titlebar/ontop_focus_active.pngbin0 -> 467 bytes
-rw-r--r--awesome/themes/zachir/titlebar/ontop_focus_inactive.pngbin0 -> 604 bytes
-rw-r--r--awesome/themes/zachir/titlebar/ontop_normal_active.pngbin0 -> 467 bytes
-rw-r--r--awesome/themes/zachir/titlebar/ontop_normal_inactive.pngbin0 -> 604 bytes
-rw-r--r--awesome/themes/zachir/titlebar/sticky_focus_active.pngbin0 -> 654 bytes
-rw-r--r--awesome/themes/zachir/titlebar/sticky_focus_inactive.pngbin0 -> 758 bytes
-rw-r--r--awesome/themes/zachir/titlebar/sticky_normal_active.pngbin0 -> 654 bytes
-rw-r--r--awesome/themes/zachir/titlebar/sticky_normal_inactive.pngbin0 -> 758 bytes
-rw-r--r--foot/foot.ini199
-rwxr-xr-xhypr/gamemode.sh14
-rw-r--r--hypr/hyprland.conf343
-rw-r--r--hypr/hyprpaper.conf14
-rw-r--r--lf/lfrc3
-rw-r--r--nwg-bar/bar.json22
-rw-r--r--picom.conf429
-rw-r--r--pipewire/filters-available/toharmantarget/akg271mkii.conf98
-rw-r--r--pipewire/filters-available/toharmantarget/atm50x.conf98
-rw-r--r--pipewire/filters-available/toharmantarget/jbudsair.conf98
-rwxr-xr-xriver/init223
-rwxr-xr-xriver/sp/river_sp51
-rwxr-xr-xriver/sp/sp_a3
-rwxr-xr-xriver/sp/sp_b3
-rwxr-xr-xriver/sp/sp_c3
-rwxr-xr-xriver/sp/sp_d3
-rwxr-xr-xriver/sp/sp_f3
-rwxr-xr-xriver/sp/sp_g3
-rwxr-xr-xriver/sp/sp_s3
-rwxr-xr-xriver/sp/sp_v3
-rwxr-xr-xriver/sp/sp_x3
-rwxr-xr-xriver/sp/sp_z3
-rw-r--r--sh/aliases2
-rw-r--r--sh/profile9
-rw-r--r--swayidle/config3
-rw-r--r--swaylock/config2
-rwxr-xr-xsxhkd/sxhkdrc140
l---------tofi/config1
-rw-r--r--tofi/themes/colors17
-rw-r--r--tofi/themes/dmenu22
-rw-r--r--tofi/themes/dmenu_vertical28
-rw-r--r--waybar/config160
-rw-r--r--waybar/style.css326
-rw-r--r--yay/config.json2
-rw-r--r--zsh/.zshrc3
104 files changed, 1959 insertions, 1796 deletions
diff --git a/.gitignore b/.gitignore
index e40c5ab..651a166 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,8 +62,7 @@ pop-shell/
polychromatic/
poezio/
pmbootstrap.cfg
-pipewire/pipewire.conf.d/
-pipewire/media-session.d/
+pipewire/
PCSX2/
pcmanfm-qt/
pcmanfm/
@@ -99,8 +98,9 @@ mpd/playlists/
monero-project/
modprobed-db.conf
modprobed.db
-mimeapps.list
mksh/history
+mixbus9/
+mimeapps.list
minigalaxy/
micro/buffers/
mgba/
@@ -128,6 +128,7 @@ kdenlive.*
kdenliverc
kdeglobals
kdeconnect/
+kde.org/
kaidan/
joplin/
joplin-desktop/
@@ -145,6 +146,7 @@ guitarix/
gtk-2.0/
gtk-3.0/
gomuks/
+godot/
goa-1.0/
gnome-session/
gnome-initial-setup-done
@@ -227,6 +229,8 @@ BraveSoftware/
Blacksun.settings
Blacksun/
Binance/
+Amp Locker.settings
+Amp Locker/
AHM 5050 v3.settings
AHM 5050 v3/
@joplin/
diff --git a/.gitmodules b/.gitmodules
index f477143..89c69a1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,9 @@
[submodule "qutebrowser/jmatrix"]
path = qutebrowser/jmatrix
url = https://gitlab.com/jgkamat/jmatrix.git
+[submodule "awesome/awesome-wm-widgets"]
+ path = awesome/awesome-wm-widgets
+ url = https://github.com/streetturtle/awesome-wm-widgets
+[submodule "awesome/bling"]
+ path = awesome/bling
+ url = https://github.com/BlingCorp/bling.git
diff --git a/X11/Xresources b/X11/Xresources
index e5b0aea..d5c4550 100644
--- a/X11/Xresources
+++ b/X11/Xresources
@@ -30,12 +30,12 @@ st.termname: st-256color
st.shell: /usr/bin/tmux
! The following options options can be reloaded via USR1 signal.
-st.font: mononoki Nerd Font Mono:pixelsize=9:antialias=true:autohint=true;
-st.font2: Symbola:pixelsize=12:antialias=true:autohint=true;
+!st.font: mononoki Nerd Font Mono:pixelsize=12:antialias=true:autohint=true;
+!st.font2: Symbola:pixelsize=12:antialias=true:autohint=true;
st.borderpx: 3
! st alpha
-! st.alpha: 0.8
-! st.alphaUnfocused: 0.8
+st.alpha: 0.8
+st.alphaUnfocused: 0.8
! Available cursor values: 2 4 6 7 = █ _ | ☃ ( 1 3 5 are blinking versions)
st.cursorshape: 6
! thickness of underline and bar cursors
@@ -111,7 +111,7 @@ URxvt.keysym.C-Minus: resize-font:smaller
URxvt.keysym.C-Plus: resize-font:bigger
! "Enabled modi" Set from: Default
-rofi.modi: window,run,ssh,drun
+rofi.modi: window,run,ssh,drun.5
! "Window width" Set from: Default
rofi.width: 1366
! "Number of lines" Set from: Default
diff --git a/X11/xinitrc b/X11/xinitrc
new file mode 100755
index 0000000..534bfc6
--- /dev/null
+++ b/X11/xinitrc
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -x ~/.screenlayout/layout.sh ] && ~/.screenlayout/layout.sh
+setxkbmap -option "caps:escape" &
+xrdb ~/.Xresources
+exec awesome
diff --git a/river/sp/sp_q b/X11/xprofile
index 9202782..1a24852 100755
--- a/river/sp/sp_q
+++ b/X11/xprofile
@@ -1,3 +1 @@
#!/bin/sh
-
-qpwgraph
diff --git a/autostart.sh b/autostart.sh
deleted file mode 100755
index 058dfff..0000000
--- a/autostart.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-runifnot () {
- if type $1 >/dev/null; then
- echo $1
- if [ -z "$(pgrep -Uzachir -f $1)" ]; then
- $@ &
- fi
- fi
-}
-killandrun () {
- if type $1 >/dev/null; then
- echo $1
- if [ -n "$(pgrep -Uzachir -f $1)" ]; then
- pkill -Uzachir $1
- fi
- $@ &
- fi
-}
-
-if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then
- notify-sound.sh off &
- runifnot swayidle
- killandrun hyprpaper
- runifnot waybar
- import-gsettings gtk-theme:'Plata-Noir' icon-theme:'Mint-Y-Dark-Blue' cursor-theme:'Adwaita' &
- xrdb ~/.Xresources
- runifnot portmaster-start --data=/opt/safing/portmaster notifier
- runifnot jamesdsp -t
-fi
-
-[ -x "$XDG_CONFIG_HOME/computerrc.sh" ] && "$XDG_CONFIG_HOME/computerrc.sh"
diff --git a/awesome/awesome-wm-widgets b/awesome/awesome-wm-widgets
new file mode 160000
+Subproject 4381a89ee06d91278f62bdd3762b3859b8775bf
diff --git a/awesome/bling b/awesome/bling
new file mode 160000
+Subproject 1f6bd0d5ef150a1801d20c69437ceff61d65fac
diff --git a/awesome/rc.lua b/awesome/rc.lua
new file mode 100644
index 0000000..54d17aa
--- /dev/null
+++ b/awesome/rc.lua
@@ -0,0 +1,1110 @@
+-- If LuaRocks is installed, make sure that packages installed through it are
+-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
+pcall(require, "luarocks.loader")
+
+-- Standard awesome library
+local gears = require("gears")
+local awful = require("awful")
+require("awful.autofocus")
+-- Widget and layout library
+local wibox = require("wibox")
+-- Theme handling library
+local beautiful = require("beautiful")
+-- Notification library
+local naughty = require("naughty")
+package.loaded["naughty.dbus"] = {}
+local menubar = require("menubar")
+local hotkeys_popup = require("awful.hotkeys_popup")
+-- Enable hotkeys help widget for VIM and other apps
+-- when client with a matching name is opened:
+require("awful.hotkeys_popup.keys")
+
+-- {{{ Error handling
+-- Check if awesome encountered an error during startup and fell back to
+-- another config (This code will only ever execute for the fallback config)
+if awesome.startup_errors then
+ naughty.notify({ preset = naughty.config.presets.critical,
+ title = "Oops, there were errors during startup!",
+ text = awesome.startup_errors })
+end
+
+-- Handle runtime errors after startup
+do
+ local in_error = false
+ awesome.connect_signal("debug::error", function (err)
+ -- Make sure we don't go into an endless error loop
+ if in_error then return end
+ in_error = true
+
+ naughty.notify({ preset = naughty.config.presets.critical,
+ title = "Oops, an error happened!",
+ text = tostring(err) })
+ in_error = false
+ end)
+end
+-- }}}
+
+-- {{{ Variable definitions
+-- Themes define colours, icons, font and wallpapers.
+local theme = {}
+theme.name = "zachir"
+home_dir = os.getenv("HOME")
+if (os.getenv("XDG_CONFIG_HOME")) then
+ config_dir = os.getenv("XDG_CONFIG_HOME")
+else
+ config_dir = string.format("%s/.config", os.getenv("HOME"))
+end
+awesome_config_folder = config_dir .. "awesome"
+theme.dir = string.format("%s/awesome/themes/%s", config_dir, theme.name)
+beautiful.init(theme.dir .. "/theme.lua")
+beautiful.useless_gap = 5
+font = beautiful.font or "mononoki Nerd Font Mono 18"
+
+-- Library I'm using for swallowing, but it does much more
+
+local bling = require("bling")
+
+-- Widget definitions/initializations
+
+local battery_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
+local mpd_widget = require("awesome-wm-widgets.mpdarc-widget.mpdarc")
+local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
+local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
+local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
+local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
+local net_speed = require("awesome-wm-widgets.net-speed-widget.net-speed")
+
+-- Disable keybindings
+
+local inertmode = false
+
+-- Spawn windows at bottom of stack
+
+local spawnatbottom = false
+
+
+-- Default modkey.
+-- Usually, Mod4 is the key with a logo between Control and Alt.
+-- If you do not like this or do not have such a key,
+-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
+-- However, you can use another modifier like Mod1, but it may interact with others.
+modkey = "Mod4"
+
+-- Table of layouts to cover with awful.layout.inc, order matters.
+awful.layout.layouts = {
+ --awful.layout.suit.floating,
+ awful.layout.suit.tile,
+ --awful.layout.suit.tile.left,
+ --awful.layout.suit.tile.bottom,
+ --awful.layout.suit.tile.top,
+ --awful.layout.suit.fair,
+ --awful.layout.suit.fair.horizontal,
+ --awful.layout.suit.spiral,
+ --awful.layout.suit.spiral.dwindle,
+ --awful.layout.suit.max,
+ --awful.layout.suit.max.fullscreen,
+ --awful.layout.suit.magnifier,
+ --awful.layout.suit.corner.nw,
+ -- awful.layout.suit.corner.ne,
+ -- awful.layout.suit.corner.sw,
+ -- awful.layout.suit.corner.se,
+}
+-- }}}
+
+-- Config function definitions {{{
+
+function crcparse(substr)
+ local file=assert(io.open(config_dir .. "/computerrc","r"))
+ local line = ""
+ repeat
+ line=file:read("*line")
+ if line and line:find(string.format("^%s=",substr)) then
+ return string.sub(line,#substr + 2,-1)
+ end
+ until not line
+end
+
+function terminal_sp_cmd (spc, cmd, geo)
+ if terminal == "st" then
+ cflag = "-c"
+ gflag = "-g"
+ xflag = "-e"
+ elseif terminal == "alacritty" then
+ cflag = "--class"
+ gflag = false
+ xflag = "-e"
+ elseif terminal == "kitty" then
+ cflag = "--class"
+ gflag = false
+ xflag = ""
+ end
+ if cflag and spc then
+ cl = " " .. cflag .. " " .. spc
+ else
+ cl = ""
+ end
+ if gflag and geo then
+ gl = " " .. gflag .. " " .. geo
+ else
+ gl = ""
+ end
+ if xflag and cmd then
+ xl = " " .. xflag .. " " .. cmd
+ else
+ xl = ""
+ end
+ return terminal .. cl .. gl .. xl
+end
+
+-- }}}
+
+-- {{{ crcparse Definitions
+
+-- terminal
+terminal="kitty"
+editor = os.getenv("EDITOR") or "nvim"
+editor_cmd = terminal .. " -e " .. editor
+
+-- is linux
+function is_linux ()
+ return crcparse("OS") == "Linux"
+end
+
+-- is openbsd
+function is_obsd ()
+ return crcparse("OS") == "OpenBSD"
+end
+
+-- }}}
+
+--{{{ bling scratchpad definitions
+--{{{ sphtop
+local sphtop = bling.module.scratchpad {
+ command = terminal_sp_cmd("sphtop", "htop", nil),
+ rule = { class = "sphtop" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spterm
+local spterm = bling.module.scratchpad {
+ command = terminal_sp_cmd("spterm", nil, nil),
+ rule = { class = "spterm" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ sppmxr
+local sppmxr = bling.module.scratchpad {
+ command = terminal_sp_cmd("sppmxr", "pulsemixer", nil),
+ rule = { class = "sppmxr" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spblue
+local spblue = bling.module.scratchpad {
+ command = terminal_sp_cmd("spblue", "bluetoothctl", nil),
+ rule = { class = "spblue" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spncmp
+local spncmp = bling.module.scratchpad {
+ command = terminal_sp_cmd("spncmp", "ncmpcpp", nil),
+ rule = { class = "spncmp" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spmutt
+local spmutt = bling.module.scratchpad {
+ command = terminal_sp_cmd("spmutt", "neomutt", nil),
+ rule = { class = "spmutt" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spprof
+local spprof = bling.module.scratchpad {
+ command = terminal_sp_cmd("spprof", "profanity", nil),
+ rule = { class = "spprof" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ spirss
+local spirss = bling.module.scratchpad {
+ command = terminal_sp_cmd("spirss", "irssi", nil),
+ rule = { class = "spirss" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ sptodo
+local sptodo = bling.module.scratchpad {
+ command = terminal_sp_cmd("sptodo", "todo", nil),
+ rule = { class = "sptodo" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ sptrem
+local sptrem = bling.module.scratchpad {
+ command = terminal_sp_cmd("sptrem", "tremc", nil),
+ rule = { class = "sptrem" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--{{{ qpwgraph
+local qpwgraph = bling.module.scratchpad {
+ command = "qpwgraph",
+ rule = { class = "qpwgraph" },
+ sticky = true,
+ autoclose = true,
+ floating = true,
+ geometry = { x = 575, y = 275, height = 530, width = 770 },
+ reapply = true,
+ dont_focus_before_close = false
+}
+--}}}
+--}}}
+
+-- {{{ Menu
+-- Create a launcher widget and a main menu
+myawesomemenu = {
+ { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
+ { "manual", terminal .. " -e man awesome" },
+ { "edit config", editor_cmd .. " " .. awesome.conffile },
+ { "restart", awesome.restart },
+ { "quit", function() awesome.quit() end },
+}
+
+mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
+ { "open terminal", terminal }
+ }
+ })
+
+mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
+ menu = mymainmenu })
+
+-- Menubar configuration
+menubar.utils.terminal = terminal -- Set the terminal for applications that require it
+-- }}}
+
+-- Keyboard map indicator and switcher
+mykeyboardlayout = awful.widget.keyboardlayout()
+
+-- {{{ Wibar
+-- Create a textclock widget
+mytextclock = wibox.widget.textclock()
+
+-- Create a wibox for each screen and add it
+local taglist_buttons = gears.table.join(
+ awful.button({ }, 1, function(t) t:view_only() end),
+ awful.button({ modkey }, 1, function(t)
+ if client.focus then
+ client.focus:move_to_tag(t)
+ end
+ end),
+ awful.button({ }, 3, awful.tag.viewtoggle),
+ awful.button({ modkey }, 3, function(t)
+ if client.focus then
+ client.focus:toggle_tag(t)
+ end
+ end),
+ awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
+ awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
+ )
+
+local tasklist_buttons = gears.table.join(
+ awful.button({ }, 1, function (c)
+ if c == client.focus then
+ c.minimized = true
+ else
+ c:emit_signal(
+ "request::activate",
+ "tasklist",
+ {raise = true}
+ )
+ end
+ end),
+ awful.button({ }, 3, function()
+ awful.menu.client_list({ theme = { width = 250 } })
+ end),
+ awful.button({ }, 4, function ()
+ awful.client.focus.byidx(1)
+ end),
+ awful.button({ }, 5, function ()
+ awful.client.focus.byidx(-1)
+ end))
+
+local function set_wallpaper(s)
+ -- Wallpaper
+ if beautiful.wallpaper then
+ local wallpaper = beautiful.wallpaper
+ -- If wallpaper is a function, call it with the screen
+ if type(wallpaper) == "function" then
+ wallpaper = wallpaper(s)
+ end
+ gears.wallpaper.maximized(wallpaper, s, true)
+ end
+end
+
+-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
+screen.connect_signal("property::geometry", set_wallpaper)
+
+awful.screen.connect_for_each_screen(function(s)
+ -- -- Wallpaper
+ set_wallpaper(s)
+
+ -- Each screen has its own tag table.
+ awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])
+
+ -- Create a promptbox for each screen
+ s.mypromptbox = awful.widget.prompt()
+ -- Create an imagebox widget which will contain an icon indicating which layout we're using.
+ -- We need one layoutbox per screen.
+ s.mylayoutbox = awful.widget.layoutbox(s)
+ s.mylayoutbox:buttons(gears.table.join(
+ awful.button({ }, 1, function () awful.layout.inc( 1) end),
+ awful.button({ }, 3, function () awful.layout.inc(-1) end),
+ awful.button({ }, 4, function () awful.layout.inc( 1) end),
+ awful.button({ }, 5, function () awful.layout.inc(-1) end)))
+ -- Create a taglist widget
+ s.mytaglist = awful.widget.taglist {
+ screen = s,
+ filter = awful.widget.taglist.filter.all,
+ buttons = taglist_buttons
+ }
+
+ -- Create a tasklist widget
+ s.mytasklist = awful.widget.tasklist {
+ screen = s,
+ filter = awful.widget.tasklist.filter.focused,
+ buttons = tasklist_buttons
+ }
+
+ -- Create the wibox
+ s.mywibox = awful.wibar({ position = "top", screen = s, height = 36})
+
+ if (crcparse("snd") == "pipewire") or (crcparse("snd") == "pulseaudio") or (crcparse("snd") == "pulse") then
+ snd="pulse"
+ else
+ snd="default"
+ end
+
+ net = crcparse("inet")
+
+ batt = crcparse("batt")
+
+ light = crcparse("bl")
+
+ if batt == "y" then
+ battery = battery_widget {
+ font = font,
+ arc_thickness = 2,
+ show_current_level = false,
+ size = 18,
+ timeout = 10,
+ main_color = beautiful.fg_color,
+ bg_color = "#ffffff11",
+ low_level_color = "#e53935",
+ medium_level_color = "#c0ca33",
+ warning_msg_title = "Houston, we have a problem",
+ warning_msg_text = "Battery is dying",
+ warning_msg_position = "bottom_right", -- "bottom_right" is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle
+ warning_msg_icon = "~/.config/awesome/awesome-wm-widgets/batteryarc-widget/spaceman.jpg",
+ enable_battery_warning = true,
+ show_notification_mode = "on_click", -- "on_hover" is default, or "on_click" or "off"
+ notification_position = "top_right" -- "top_left is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle
+ }
+ else
+ battery = nil
+ end
+
+ -- Add widgets to the wibox
+ ---[[ Uncomment for Linux
+ s.mywibox:setup {
+ layout = wibox.layout.align.horizontal,
+ { -- Left widgets
+ layout = wibox.layout.fixed.horizontal,
+ mylauncher,
+ s.mytaglist,
+ s.mypromptbox,
+ },
+ s.mytasklist, -- Middle widget
+ {
+ layout = wibox.layout.fixed.horizontal,
+ mpd_widget,
+ net_speed {
+ font = beautiful.font2,
+ interface = net
+ },
+ ram_widget({
+ color_used=beautiful.bg_focus,
+ color_free=beautiful.fg_normal,
+ color_buf=beautiful.bg_accent,
+ widget_height=32,
+ widget_width=32,
+ widget_show_buf=true,
+ timeout=1
+ }),
+ cpu_widget({
+ width=50,
+ step_width=2,
+ step_spacing=1,
+ color=beautiful.fg_normal,
+ enable_kill_button=false,
+ process_info_max_length=-1,
+ timeout=1
+ }),
+ brightness_widget {
+ type = "arc",
+ program = light,
+ step = 5,
+ base = 20,
+ path_to_icon = "/usr/share/icons/Paper/scalable/status/display-brightness-symbolic.svg",
+ timeout = 1,
+ tooltip = false,
+ percentage = false
+ },
+ volume_widget {
+ path_to_icon = "/usr/share/icons/Paper/scalable/status/audio-volume-muted-symbolic.svg",
+ widget_type = "arc",
+ mute_color = "#ff111111",
+ device = snd,
+ },
+ battery,
+ mykeyboardlayout,
+ wibox.widget.systray(),
+ mytextclock,
+ s.mylayoutbox,
+ },
+ }
+ --]]
+ --[[ Uncomment for OpenBSD
+ -- Add widgets to the wibox
+ s.mywibox:setup {
+ layout = wibox.layout.align.horizontal,
+ { -- Left widgets
+ layout = wibox.layout.fixed.horizontal,
+ mylauncher,
+ s.mytaglist,
+ s.mypromptbox,
+ },
+ s.mytasklist, -- Middle widget
+ {
+ layout = wibox.layout.fixed.horizontal,
+ mpd_widget,
+ mykeyboardlayout,
+ wibox.widget.systray(),
+ mytextclock,
+ s.mylayoutbox,
+ },
+ }
+ --]]
+end)
+
+-- }}}
+
+-- {{{ Mouse bindings
+root.buttons(gears.table.join(
+ --[[
+ awful.button({ }, 3, function () mymainmenu:toggle() end),
+ awful.button({ }, 4, awful.tag.viewnext),
+ awful.button({ }, 5, awful.tag.viewprev)
+ --]]
+))
+
+client.connect_signal("mouse::enter", function(c)
+ c:emit_signal("request::activate", "mouse_enter", {raise = false})
+end)
+-- }}}
+
+-- {{{ Key bindings
+
+
+globalkeys = gears.table.join(
+ ---[[ Toggles scratchpads
+ awful.key({ modkey, "Control" }, "z",
+ function ()
+ sphtop:toggle()
+ end,
+ {description = "Toggle htop scratchpad"}),
+ awful.key({ modkey, "Control" }, "x",
+ function ()
+ spterm:toggle()
+ end,
+ {description = "Toggle term scratchpad"}),
+ awful.key({ modkey, "Control" }, "c",
+ function ()
+ sppmxr:toggle()
+ end,
+ {description = "Toggle pulsemixer scratchpad"}),
+ awful.key({ modkey, "Control" }, "v",
+ function ()
+ spblue:toggle()
+ end,
+ {description = "Toggle bluetoothctl scratchpad"}),
+ awful.key({ modkey, "Control" }, "b",
+ function ()
+ spncmp:toggle()
+ end,
+ {description = "Toggle ncmpcpp scratchpad"}),
+ awful.key({ modkey, "Control" }, "a",
+ function ()
+ spmutt:toggle()
+ end,
+ {description = "Toggle neomutt scratchpad"}),
+ awful.key({ modkey, "Control" }, "s",
+ function ()
+ spprof:toggle()
+ end,
+ {description = "Toggle profanity scratchpad"}),
+ awful.key({ modkey, "Control" }, "d",
+ function ()
+ spirss:toggle()
+ end,
+ {description = "Toggle irssi scratchpad"}),
+ awful.key({ modkey, "Control" }, "f",
+ function ()
+ sptodo:toggle()
+ end,
+ {description = "Toggle todo.txt scratchpad"}),
+ awful.key({ modkey, "Control" }, "g",
+ function ()
+ sptrem:toggle()
+ end,
+ {description = "Toggle tremc scratchpad"}),
+ awful.key({ modkey, "Control" }, "q",
+ function ()
+ qpwgraph:toggle()
+ end,
+ {description = "Toggle qpwgraph scratchpad"}),
+ --]]
+
+ ---[[ spawnatbottom Toggles where in the stack new windows spawn
+ -- (at the bottom or not)
+ awful.key({ modkey }, "a",
+ function ()
+ spawnatbottom = not spawnatbottom
+ end,
+ {description = "toggle attach at bottom", group = "layout"}),
+ --]]
+
+ ---[[ inertkeys toggles keybindings on and off
+ awful.key({ modkey }, "b",
+ function ()
+ root.keys(inertkeys)
+ end,
+ {description = "turn inert mode on", group = "awesome"}),
+ --]]
+
+ --[[ Shows the awesome menu where the mouse is
+ awful.key({ modkey }, "w",
+ function ()
+ mymainmenu:show()
+ end,
+ {description = "show main menu", group = "awesome"}),
+ --]]
+
+ ---[[ Standard programs
+ -- Spawns the terminal defined by "terminal"
+ awful.key({ modkey }, "Return",
+ function ()
+ awful.spawn(terminal)
+ end,
+ {description = "open a terminal", group = "launcher"}),
+ --]]
+
+ ---[[ Awesome stop/restart
+ awful.key({ modkey, "Shift" }, "e",
+ function ()
+ awesome.quit()
+ end,
+ {description = "quit awesome", group = "awesome"}),
+ awful.key({ modkey, "Shift" }, "r",
+ function ()
+ awesome.restart()
+ end,
+ {description = "reload awesome", group = "awesome"}),
+ --]]
+
+ ---[[ Changes master/slave ratio
+ awful.key({ modkey }, "l",
+ function ()
+ awful.tag.incmwfact( 0.05)
+ end,
+ {description = "increase master width factor", group = "layout"}),
+ awful.key({ modkey }, "h",
+ function ()
+ awful.tag.incmwfact(-0.05)
+ end,
+ {description = "decrease master width factor", group = "layout"}),
+ --]]
+
+ ---[[ Changes the number of masters
+ awful.key({ modkey, "Shift" }, "h",
+ function ()
+ awful.tag.incnmaster( 1, nil, true)
+ end,
+ {description = "increase te number of master clients", group = "layout"}),
+ awful.key({ modkey, "Shift" }, "l",
+ function ()
+ awful.tag.incnmaster(-1, nil, true)
+ end,
+ {description = "decrease the number of master clients", group = "layout"}),
+ --]]
+
+ ---[[ Changes the number of columns
+ awful.key({ modkey, "Control" }, "h",
+ function ()
+ awful.tag.incncol( 1, nil, true)
+ end,
+ {description = "increase the number of columns", group = "layout"}),
+ awful.key({ modkey, "Control" }, "l",
+ function ()
+ awful.tag.incncol(-1, nil, true)
+ end,
+ {description = "decrease the number of columns", group = "layout"})
+ --]]
+
+ --[[ Changes the layout used
+ awful.key({ modkey }, "space",
+ function ()
+ awful.layout.inc( 1)
+ end,
+ {description = "select next", group = "layout"}),
+ awful.key({ modkey, "Shift" }, "space",
+ function ()
+ awful.layout.inc(-1)
+ end,
+ {description = "select previous", group = "layout"}),
+ --]]
+
+ --[[ Runs arbitrary Lua code
+ awful.key({ modkey }, "x",
+ function ()
+ awful.prompt.run {
+ prompt = "Run Lua code: ",
+ textbox = awful.screen.focused().mypromptbox.widget,
+ exe_callback = awful.util.eval,
+ history_path = awful.util.get_cache_dir() .. "/history_eval"
+ }
+ end,
+ {description = "lua execute prompt", group = "awesome"})
+ --]]
+)
+
+---[[ Keybindings for messing with clients
+clientkeys = gears.table.join(
+ ---[[ Client manipulation
+ -- Moves focus up and down the stack
+ awful.key({ modkey }, "j",
+ function ()
+ awful.client.focus.byidx( 1)
+ end,
+ {description = "focus next by index", group = "client"}),
+ awful.key({ modkey }, "k",
+ function ()
+ awful.client.focus.byidx(-1)
+ end,
+ {description = "focus previous by index", group = "client"}),
+ -- Moves client up and down the stack
+ awful.key({ modkey, "Shift" }, "j",
+ function ()
+ awful.client.swap.byidx( 1)
+ end,
+ {description = "swap with next client by index", group = "client"}),
+ awful.key({ modkey, "Shift" }, "k",
+ function ()
+ awful.client.swap.byidx( -1)
+ end,
+ {description = "swap with previous client by index", group = "client"}),
+ -- Moves focus between screens
+ awful.key({ modkey, "Control" }, "j",
+ function ()
+ awful.screen.focus_relative( 1)
+ end,
+ {description = "focus the next screen", group = "screen"}),
+ awful.key({ modkey, "Control" }, "k",
+ function ()
+ awful.screen.focus_relative(-1)
+ end,
+ {description = "focus the previous screen", group = "screen"}),
+ -- Focuses the previous client
+ awful.key({ modkey }, "Tab",
+ function ()
+ awful.client.focus.history.previous()
+ if client.focus then
+ client.focus:raise()
+ end
+ end,
+ {description = "go back", group = "client"}),
+ --]]
+
+ ---[[ Closes client
+ awful.key({ modkey, "Shift" }, "q",
+ function (c)
+ c:kill()
+ end,
+ {description = "close", group = "client"}),
+ --]]
+
+ ---[[ Toggles client state
+ -- Toggles fullscreen
+ awful.key({ modkey }, "f",
+ function (c)
+ c.fullscreen = not c.fullscreen
+ c:raise()
+ end,
+ {description = "toggle fullscreen", group = "client"}),
+
+ -- Toggles client floating
+ awful.key({ modkey, "Control" }, "space",
+ function (c)
+ c.floating = not c.floating
+ end,
+ {description = "toggle floating", group = "client"}),
+
+ -- Toggles keeping the client on top
+ awful.key({ modkey }, "t",
+ function (c)
+ c.ontop = not c.ontop
+ end,
+ {description = "toggle keep on top", group = "client"}),
+
+ -- Toggles maximizing the client
+ awful.key({ modkey }, "m",
+ function (c)
+ c.maximized = not c.maximized
+ c:raise()
+ end,
+ {description = "toggle maximize", group = "client"}),
+
+ -- Toggles vertically maximizing the client
+ awful.key({ modkey, "Control" }, "m",
+ function (c)
+ c.maximized_vertical = not c.maximized_vertical
+ c:raise()
+ end,
+ {description = "toggle maximize vertically", group = "client"}),
+
+ -- Toggles horizontally maximizing the client
+ awful.key({ modkey, "Shift" }, "m",
+ function (c)
+ c.maximized_horizontal = not c.maximized_horizontal
+ c:raise()
+ end,
+ {description = "toggle maximize horizontally", group = "client"}),
+ --]]
+
+ ---[[ Moves the client to the master position
+ -- Or, if client is the master, does nothing
+ awful.key({ modkey, "Shift" }, "Return",
+ function (c)
+ c:swap(awful.client.getmaster())
+ end,
+ {description = "move to master", group = "client"}),
+ --]]
+
+ ---[[ Moves the client to the next screen
+ awful.key({ modkey }, "o",
+ function (c)
+ c:move_to_screen()
+ end,
+ {description = "move to screen", group = "client"}),
+ --]]
+
+ ---[[ Minimization
+ -- Minimizes the client
+ awful.key({ modkey }, "n",
+ function (c)
+ -- The client currently has the input focus, so it cannot be
+ -- minimized, since minimized clients can't have the focus.
+ c.minimized = true
+ end ,
+ {description = "minimize", group = "client"}),
+
+ -- Unminimizes one client
+ awful.key({ modkey, "Control" }, "n",
+ function ()
+ local c = awful.client.restore()
+ -- Focus restored client
+ if c then
+ c:emit_signal("request::activate", "key.unminimize", {raise = true})
+ end
+ end,
+ {description = "restore minimized", group = "client"})
+ --]]
+)
+
+---[[ Tag keybindings
+-- Bind all key numbers to tags.
+-- Be careful: we use keycodes to make it work on any keyboard layout.
+-- This should map on the top row of your keyboard, usually 1 to 9.
+for i = 1, 9 do
+ globalkeys = gears.table.join(globalkeys,
+ ---[[ View tag only.
+ awful.key({ modkey }, "#" .. i + 9,
+ function ()
+ local screen = awful.screen.focused()
+ local tag = screen.tags[i]
+ if tag then
+ tag:view_only()
+ end
+ end,
+ {description = "view tag #"..i, group = "tag"}),
+ --]]
+ ---[[ Toggle tag display.
+ awful.key({ modkey, "Control" }, "#" .. i + 9,
+ function ()
+ local screen = awful.screen.focused()
+ local tag = screen.tags[i]
+ if tag then
+ awful.tag.viewtoggle(tag)
+ end
+ end,
+ {description = "toggle tag #" .. i, group = "tag"}),
+ --]]
+ ---[[ Move client to tag.
+ awful.key({ modkey, "Shift" }, "#" .. i + 9,
+ function ()
+ if client.focus then
+ local tag = client.focus.screen.tags[i]
+ if tag then
+ client.focus:move_to_tag(tag)
+ end
+ end
+ end,
+ {description = "move focused client to tag #"..i, group = "tag"}),
+ --]]
+ ---[[ Toggle tag on focused client.
+ awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
+ function ()
+ if client.focus then
+ local tag = client.focus.screen.tags[i]
+ if tag then
+ client.focus:toggle_tag(tag)
+ end
+ end
+ end,
+ {description = "toggle focused client on tag #" .. i, group = "tag"})
+ --]]
+ )
+end
+--]]
+
+---[[ Mouse keybindings
+clientbuttons = gears.table.join(
+ ---[[ Focus client when clicked on
+ awful.button({ 0 }, 1,
+ function (c)
+ c:emit_signal("request::activate", "mouse_click", {raise = true})
+ end),
+ --]]
+ ---[[ Move client when left clicked with modkey
+ awful.button({ modkey }, 1,
+ function (c)
+ c:emit_signal("request::activate", "mouse_click", {raise = true})
+ awful.mouse.client.move(c)
+ end),
+ --]]
+ ---[[ Resize client when right clicked with modkey
+ awful.button({ modkey }, 3,
+ function (c)
+ c:emit_signal("request::activate", "mouse_click", {raise = true})
+ awful.mouse.client.resize(c)
+ end)
+ --]]
+)
+--]]
+
+---[[ Keybindings for the "inert" mode
+inertkeys = gears.table.join(
+ ---[[ Go back to normal bindings
+ awful.key({ modkey }, "b",
+ function ()
+ root.keys(globalkeys)
+ end,
+ {description = "turn inert mode off", group = "awesome"})
+ --]]
+)
+--]]
+
+-- Set keys
+root.keys(globalkeys)
+-- }}}
+
+-- {{{ Rules
+-- Rules to apply to new clients (through the "manage" signal).
+awful.rules.rules = {
+ -- All clients will match this rule.
+ { rule = { },
+ properties = { border_width = beautiful.border_width,
+ border_color = beautiful.border_normal,
+ focus = awful.client.focus.filter,
+ raise = true,
+ keys = clientkeys,
+ buttons = clientbuttons,
+ screen = awful.screen.preferred,
+ placement = awful.placement.no_overlap+awful.placement.no_offscreen
+ }
+ },
+
+ { rule_any = {
+ class = {
+ "QjackCtl",
+ "Tk",
+ "gcr-prompter"
+ }
+ },
+ properties = { floating = true },
+ callback = function(c)
+ awful.placement.centered(c,nil)
+ end
+ },
+
+ -- Floating clients.
+ { rule_any = {
+ instance = {
+ "DTA", -- Firefox addon DownThemAll.
+ "copyq", -- Includes session name in class.
+ "pinentry",
+ },
+ class = {
+ --"mpv",
+ "ProtonMail Bridge",
+ "TheFiniteDemo",
+ "Arandr",
+ "Blueman-manager",
+ "Gpick",
+ "Kruler",
+ "MessageWin", -- kalarm.
+ -- "Sxiv",
+ "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
+ "Wpa_gui",
+ "veromix",
+ "xtightvncviewer"
+ },
+
+ -- Note that the name property shown in xprop might be set slightly after creation of the client
+ -- and the name shown there might not match defined rules here.
+ name = {
+ "Event Tester", -- xev.
+ },
+ role = {
+ "AlarmWindow", -- Thunderbird's calendar.
+ "ConfigManager", -- Thunderbird's about:config.
+ "pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
+ }
+ }, properties = { floating = true }
+ },
+
+ -- Add titlebars to normal clients and dialogs
+ { rule_any = {
+ type = { "normal", "dialog" }
+ },
+ properties = { titlebars_enabled = true }
+ },
+
+ -- These windows will be force resized to fit
+ { rule_any =
+ {
+ class = {
+ "mpv",
+ "Lutris",
+ "polychromatic-controller"
+ },
+ }, properties = { size_hints_honor = false }
+ },
+}
+-- }}}
+
+--{{{ bling window swallowing
+bling.module.window_swallowing.start()
+--}}}
+
+-- {{{ Autostart
+--[[ Commands to run:
+ xrdb ~/.Xresources
+ setxkbmap -option 'caps:escape'
+ picom
+ sxhkd
+ xwallpaper --center ~/background.jpg
+ jamesdsp -t
+--]]
+-- Autostart commands that only run once
+awful.spawn.with_shell(
+ 'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' ..
+ 'xrdb -merge <<< "awesome.started:true";' ..
+ -- list each of your autostart commands, followed by ; inside single quotes,
+ -- followed by ..
+ 'xss-lock slockd'
+)
+-- Autostart commands that run every restart
+awful.spawn.with_shell(
+ -- list each of your autostart commands, followed by ; inside single quotes,
+ -- followed by ..
+ 'setxkbmap -option "caps:escape";' ..
+ 'picom &;' ..
+ 'sxhkd &;' ..
+ 'jamedsp -t &'
+)
+-- }}}
+
+-- spawn windows as slaves {{{
+client.connect_signal(
+ "manage",
+ function(c)
+ if not awesome.startup then
+ if spawnatbottom then
+ awful.client.setslave(c)
+ end
+ end
+ end
+)
+-- }}}
diff --git a/awesome/themes/zachir/README b/awesome/themes/zachir/README
new file mode 100644
index 0000000..1ddb349
--- /dev/null
+++ b/awesome/themes/zachir/README
@@ -0,0 +1,3 @@
+Background images:
+ Mikael Eriksson <mikael_eriksson@miffe.org>
+ Licensed under CC-BY-SA-3.0
diff --git a/awesome/themes/zachir/background.jpg b/awesome/themes/zachir/background.jpg
new file mode 120000
index 0000000..525f4e6
--- /dev/null
+++ b/awesome/themes/zachir/background.jpg
@@ -0,0 +1 @@
+/home/zachir/background.jpg \ No newline at end of file
diff --git a/awesome/themes/zachir/background.png b/awesome/themes/zachir/background.png
new file mode 100644
index 0000000..8f52b6b
--- /dev/null
+++ b/awesome/themes/zachir/background.png
Binary files differ
diff --git a/awesome/themes/zachir/background_white.png b/awesome/themes/zachir/background_white.png
new file mode 100644
index 0000000..bb0c5d0
--- /dev/null
+++ b/awesome/themes/zachir/background_white.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornerne.png b/awesome/themes/zachir/layouts/cornerne.png
new file mode 100644
index 0000000..c85bd56
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornerne.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornernew.png b/awesome/themes/zachir/layouts/cornernew.png
new file mode 100644
index 0000000..c3fd986
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornernew.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornernw.png b/awesome/themes/zachir/layouts/cornernw.png
new file mode 100644
index 0000000..dfe78b3
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornernw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornernww.png b/awesome/themes/zachir/layouts/cornernww.png
new file mode 100644
index 0000000..f489010
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornernww.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornerse.png b/awesome/themes/zachir/layouts/cornerse.png
new file mode 100644
index 0000000..023ae79
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornerse.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornersew.png b/awesome/themes/zachir/layouts/cornersew.png
new file mode 100644
index 0000000..f7cfa1c
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornersew.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornersw.png b/awesome/themes/zachir/layouts/cornersw.png
new file mode 100644
index 0000000..c1453c9
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornersw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/cornersww.png b/awesome/themes/zachir/layouts/cornersww.png
new file mode 100644
index 0000000..a65a043
--- /dev/null
+++ b/awesome/themes/zachir/layouts/cornersww.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/dwindle.png b/awesome/themes/zachir/layouts/dwindle.png
new file mode 100644
index 0000000..9902d22
--- /dev/null
+++ b/awesome/themes/zachir/layouts/dwindle.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/dwindlew.png b/awesome/themes/zachir/layouts/dwindlew.png
new file mode 100644
index 0000000..9199049
--- /dev/null
+++ b/awesome/themes/zachir/layouts/dwindlew.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fairh.png b/awesome/themes/zachir/layouts/fairh.png
new file mode 100644
index 0000000..d41deea
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fairh.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fairhw.png b/awesome/themes/zachir/layouts/fairhw.png
new file mode 100644
index 0000000..bb50e3a
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fairhw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fairv.png b/awesome/themes/zachir/layouts/fairv.png
new file mode 100644
index 0000000..f5f0288
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fairv.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fairvw.png b/awesome/themes/zachir/layouts/fairvw.png
new file mode 100644
index 0000000..4f4ed52
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fairvw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/floating.png b/awesome/themes/zachir/layouts/floating.png
new file mode 100644
index 0000000..b8061a0
--- /dev/null
+++ b/awesome/themes/zachir/layouts/floating.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/floatingw.png b/awesome/themes/zachir/layouts/floatingw.png
new file mode 100644
index 0000000..4815894
--- /dev/null
+++ b/awesome/themes/zachir/layouts/floatingw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fullscreen.png b/awesome/themes/zachir/layouts/fullscreen.png
new file mode 100644
index 0000000..d02f6fc
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fullscreen.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/fullscreenw.png b/awesome/themes/zachir/layouts/fullscreenw.png
new file mode 100644
index 0000000..5c35bfa
--- /dev/null
+++ b/awesome/themes/zachir/layouts/fullscreenw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/magnifier.png b/awesome/themes/zachir/layouts/magnifier.png
new file mode 100644
index 0000000..2925414
--- /dev/null
+++ b/awesome/themes/zachir/layouts/magnifier.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/magnifierw.png b/awesome/themes/zachir/layouts/magnifierw.png
new file mode 100644
index 0000000..6209556
--- /dev/null
+++ b/awesome/themes/zachir/layouts/magnifierw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/max.png b/awesome/themes/zachir/layouts/max.png
new file mode 100644
index 0000000..8d20844
--- /dev/null
+++ b/awesome/themes/zachir/layouts/max.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/maxw.png b/awesome/themes/zachir/layouts/maxw.png
new file mode 100644
index 0000000..85f5ce3
--- /dev/null
+++ b/awesome/themes/zachir/layouts/maxw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/spiral.png b/awesome/themes/zachir/layouts/spiral.png
new file mode 100644
index 0000000..d9434be
--- /dev/null
+++ b/awesome/themes/zachir/layouts/spiral.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/spiralw.png b/awesome/themes/zachir/layouts/spiralw.png
new file mode 100644
index 0000000..b78dd86
--- /dev/null
+++ b/awesome/themes/zachir/layouts/spiralw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tile.png b/awesome/themes/zachir/layouts/tile.png
new file mode 100644
index 0000000..3ede21e
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tile.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tilebottom.png b/awesome/themes/zachir/layouts/tilebottom.png
new file mode 100644
index 0000000..6f8c257
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tilebottom.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tilebottomw.png b/awesome/themes/zachir/layouts/tilebottomw.png
new file mode 100644
index 0000000..a1de7b2
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tilebottomw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tileleft.png b/awesome/themes/zachir/layouts/tileleft.png
new file mode 100644
index 0000000..31d6870
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tileleft.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tileleftw.png b/awesome/themes/zachir/layouts/tileleftw.png
new file mode 100644
index 0000000..cf14c25
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tileleftw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tiletop.png b/awesome/themes/zachir/layouts/tiletop.png
new file mode 100644
index 0000000..98cade2
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tiletop.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tiletopw.png b/awesome/themes/zachir/layouts/tiletopw.png
new file mode 100644
index 0000000..d1d0872
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tiletopw.png
Binary files differ
diff --git a/awesome/themes/zachir/layouts/tilew.png b/awesome/themes/zachir/layouts/tilew.png
new file mode 100644
index 0000000..fde2ca4
--- /dev/null
+++ b/awesome/themes/zachir/layouts/tilew.png
Binary files differ
diff --git a/awesome/themes/zachir/submenu.png b/awesome/themes/zachir/submenu.png
new file mode 100644
index 0000000..b2778e2
--- /dev/null
+++ b/awesome/themes/zachir/submenu.png
Binary files differ
diff --git a/awesome/themes/zachir/taglist/squarefw.png b/awesome/themes/zachir/taglist/squarefw.png
new file mode 100644
index 0000000..2a86430
--- /dev/null
+++ b/awesome/themes/zachir/taglist/squarefw.png
Binary files differ
diff --git a/awesome/themes/zachir/taglist/squarew.png b/awesome/themes/zachir/taglist/squarew.png
new file mode 100644
index 0000000..913f2ca
--- /dev/null
+++ b/awesome/themes/zachir/taglist/squarew.png
Binary files differ
diff --git a/awesome/themes/zachir/theme.lua b/awesome/themes/zachir/theme.lua
new file mode 100644
index 0000000..bef4f5c
--- /dev/null
+++ b/awesome/themes/zachir/theme.lua
@@ -0,0 +1,240 @@
+---------------------------
+-- Default awesome theme --
+---------------------------
+
+local theme_assets = require("beautiful.theme_assets")
+local xresources = require("beautiful.xresources")
+local dpi = xresources.apply_dpi
+local xrdb = xresources.get_current_theme()
+
+local gfs = require("gears.filesystem")
+local themes_path = gfs.get_themes_dir()
+
+local theme = {}
+
+theme.font = "mononoki Nerd Font Mono 18"
+theme.font2 = "mononoki Nerd Font Mono 12"
+
+theme.bg_normal = xrdb.background
+theme.bg_focus = xrdb.color2
+theme.bg_accent = xrdb.color8
+theme.bg_urgent = xrdb.color9
+theme.bg_minimize = xrdb.color0
+theme.bg_systray = theme.bg_focus
+
+theme.fg_normal = xrdb.color7
+theme.fg_focus = xrdb.background
+theme.fg_urgent = xrdb.color15
+theme.fg_minimize = xrdb.color15
+theme.useless_gap = dpi(0)
+theme.border_width = dpi(1)
+theme.border_normal = xrdb.color0
+theme.border_focus = xrdb.color2
+theme.border_marked = xrdb.color8
+
+-- There are other variable sets
+-- overriding the default one when
+-- defined, the sets are:
+-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
+-- tasklist_[bg|fg]_[focus|urgent]
+-- titlebar_[bg|fg]_[normal|focus]
+-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
+-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
+-- prompt_[fg|bg|fg_cursor|bg_cursor|font]
+-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
+-- Example:
+--theme.taglist_bg_focus = "#ff0000"
+
+-- Generate taglist squares:
+local taglist_square_size = dpi(4)
+theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
+ taglist_square_size, theme.fg_normal
+)
+theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
+ taglist_square_size, theme.fg_normal
+)
+
+-- Variables set for theming notifications:
+-- notification_font
+-- notification_[bg|fg]
+-- notification_[width|height|margin]
+-- notification_[border_color|border_width|shape|opacity]
+
+-- Variables set for theming the menu:
+-- menu_[bg|fg]_[normal|focus]
+-- menu_[border_color|border_width]
+theme.menu_submenu_icon = themes_path.."zachir/submenu.png"
+theme.menu_height = dpi(15)
+theme.menu_width = dpi(100)
+
+-- You can add as many variables as
+-- you wish and access them by using
+-- beautiful.variable in your rc.lua
+--theme.bg_widget = "#cc0000"
+
+-- Define the image to load
+theme.titlebar_close_button_normal = themes_path.."zachir/titlebar/close_normal.png"
+theme.titlebar_close_button_focus = themes_path.."zachir/titlebar/close_focus.png"
+
+theme.titlebar_minimize_button_normal = themes_path.."zachir/titlebar/minimize_normal.png"
+theme.titlebar_minimize_button_focus = themes_path.."zachir/titlebar/minimize_focus.png"
+
+theme.titlebar_ontop_button_normal_inactive = themes_path.."zachir/titlebar/ontop_normal_inactive.png"
+theme.titlebar_ontop_button_focus_inactive = themes_path.."zachir/titlebar/ontop_focus_inactive.png"
+theme.titlebar_ontop_button_normal_active = themes_path.."zachir/titlebar/ontop_normal_active.png"
+theme.titlebar_ontop_button_focus_active = themes_path.."zachir/titlebar/ontop_focus_active.png"
+
+theme.titlebar_sticky_button_normal_inactive = themes_path.."zachir/titlebar/sticky_normal_inactive.png"
+theme.titlebar_sticky_button_focus_inactive = themes_path.."zachir/titlebar/sticky_focus_inactive.png"
+theme.titlebar_sticky_button_normal_active = themes_path.."zachir/titlebar/sticky_normal_active.png"
+theme.titlebar_sticky_button_focus_active = themes_path.."zachir/titlebar/sticky_focus_active.png"
+
+theme.titlebar_floating_button_normal_inactive = themes_path.."zachir/titlebar/floating_normal_inactive.png"
+theme.titlebar_floating_button_focus_inactive = themes_path.."zachir/titlebar/floating_focus_inactive.png"
+theme.titlebar_floating_button_normal_active = themes_path.."zachir/titlebar/floating_normal_active.png"
+theme.titlebar_floating_button_focus_active = themes_path.."zachir/titlebar/floating_focus_active.png"
+
+theme.titlebar_maximized_button_normal_inactive = themes_path.."zachir/titlebar/maximized_normal_inactive.png"
+theme.titlebar_maximized_button_focus_inactive = themes_path.."zachir/titlebar/maximized_focus_inactive.png"
+theme.titlebar_maximized_button_normal_active = themes_path.."zachir/titlebar/maximized_normal_active.png"
+theme.titlebar_maximized_button_focus_active = themes_path.."zachir/titlebar/maximized_focus_active.png"
+
+local home_dir = os.getenv("HOME")
+theme.wallpaper = home_dir .. "/background.jpg"
+
+-- You can use your own layout icons like this:
+theme.layout_fairh = themes_path.."zachir/layouts/fairhw.png"
+theme.layout_fairv = themes_path.."zachir/layouts/fairvw.png"
+theme.layout_floating = themes_path.."zachir/layouts/floatingw.png"
+theme.layout_magnifier = themes_path.."zachir/layouts/magnifierw.png"
+theme.layout_max = themes_path.."zachir/layouts/maxw.png"
+theme.layout_fullscreen = themes_path.."zachir/layouts/fullscreenw.png"
+theme.layout_tilebottom = themes_path.."zachir/layouts/tilebottomw.png"
+theme.layout_tileleft = themes_path.."zachir/layouts/tileleftw.png"
+theme.layout_tile = themes_path.."zachir/layouts/tilew.png"
+theme.layout_tiletop = themes_path.."zachir/layouts/tiletopw.png"
+theme.layout_spiral = themes_path.."zachir/layouts/spiralw.png"
+theme.layout_dwindle = themes_path.."zachir/layouts/dwindlew.png"
+theme.layout_cornernw = themes_path.."zachir/layouts/cornernww.png"
+theme.layout_cornerne = themes_path.."zachir/layouts/cornernew.png"
+theme.layout_cornersw = themes_path.."zachir/layouts/cornersww.png"
+theme.layout_cornerse = themes_path.."zachir/layouts/cornersew.png"
+
+-- Generate Awesome icon:
+theme.awesome_icon = theme_assets.awesome_icon(
+ theme.menu_height, theme.bg_focus, theme.fg_focus
+)
+
+-- Define the icon theme for application icons. If not set then the icons
+-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
+theme.icon_theme = nil
+
+-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
+--[[ Bling theme variables template
+
+This file has all theme variables of the bling module.
+Every variable has a small comment on what it does.
+You might just want to copy that whole part into your theme.lua and start adjusting from there.
+
+--]]
+-- LuaFormatter off
+-- window swallowing
+theme.parent_filter_list = { "ampbox.exe", "Brave-browser", "Carla2", "carla", "firefox", "Gimp", "LibreWolf", "Lutris", "MultiMC", "obs", "REAPER", "steam", "xviix64.exe", "yabridge" } -- class names list of parents that should not be swallowed
+theme.child_filter_list = { "Brave-browser", "Dragon", "librepcb", "LibrePCB", "REAPER", "yabridge" } -- class names list that should not swallow their parents
+theme.swallowing_filter = true -- whether the filters above should be active
+
+-- flash focus
+theme.flash_focus_start_opacity = 0.6 -- the starting opacity
+theme.flash_focus_step = 0.01 -- the step of animation
+
+-- playerctl signal
+theme.playerctl_backend = "playerctl_cli" -- backend to use
+theme.playerctl_ignore = {} -- list of players to be ignored
+theme.playerctl_player = {} -- list of players to be used in priority order
+theme.playerctl_update_on_activity = true -- whether to prioritize the most recently active players or not
+theme.playerctl_position_update_interval = 1 -- the update interval for fetching the position from playerctl
+
+-- tabbed
+theme.tabbed_spawn_in_tab = false -- whether a new client should spawn into the focused tabbing container
+
+-- tabbar general
+theme.tabbar_disable = false -- disable the tab bar entirely
+theme.tabbar_ontop = false
+theme.tabbar_radius = 0 -- border radius of the tabbar
+theme.tabbar_style = "default" -- style of the tabbar ("default", "boxes" or "modern")
+theme.tabbar_font = "mononoki Nerd Font Mono 24" -- font of the tabbar
+theme.tabbar_size = 40 -- size of the tabbar
+theme.tabbar_position = "top" -- position of the tabbar
+theme.tabbar_bg_normal = "#000000" -- background color of the focused client on the tabbar
+theme.tabbar_fg_normal = "#ffffff" -- foreground color of the focused client on the tabbar
+theme.tabbar_bg_focus = "#1A2026" -- background color of unfocused clients on the tabbar
+theme.tabbar_fg_focus = "#ff0000" -- foreground color of unfocused clients on the tabbar
+theme.tabbar_bg_focus_inactive = nil -- background color of the focused client on the tabbar when inactive
+theme.tabbar_fg_focus_inactive = nil -- foreground color of the focused client on the tabbar when inactive
+theme.tabbar_bg_normal_inactive = nil -- background color of unfocused clients on the tabbar when inactive
+theme.tabbar_fg_normal_inactive = nil -- foreground color of unfocused clients on the tabbar when inactive
+
+-- mstab
+theme.mstab_bar_disable = false -- disable the tabbar
+theme.mstab_bar_ontop = false -- whether you want to allow the bar to be ontop of clients
+theme.mstab_dont_resize_slaves = false -- whether the tabbed stack windows should be smaller than the
+-- currently focused stack window (set it to true if you use
+-- transparent terminals. False if you use shadows on solid ones
+theme.mstab_bar_padding = "default" -- how much padding there should be between clients and your tabbar
+-- by default it will adjust based on your useless gaps.
+-- If you want a custom value. Set it to the number of pixels (int)
+theme.mstab_border_radius = 0 -- border radius of the tabbar
+theme.mstab_bar_height = 40 -- height of the tabbar
+theme.mstab_tabbar_position = "top" -- position of the tabbar (mstab currently does not support left,right)
+theme.mstab_tabbar_style = "default" -- style of the tabbar ("default", "boxes" or "modern")
+-- defaults to the tabbar_style so only change if you want a
+-- different style for mstab and tabbed
+
+-- the following variables are currently only for the "modern" tabbar style
+theme.tabbar_color_close = "#f9929b" -- changes the color of the close button
+theme.tabbar_color_min = "#fbdf90" -- changes the color of the minimize button
+theme.tabbar_color_float = "#ccaced" -- changes the color of the float button
+
+-- tag preview widget
+theme.tag_preview_widget_border_radius = 0 -- Border radius of the widget (With AA)
+theme.tag_preview_client_border_radius = 0 -- Border radius of each client in the widget (With AA)
+theme.tag_preview_client_opacity = 0.5 -- Opacity of each client
+theme.tag_preview_client_bg = "#000000" -- The bg color of each client
+theme.tag_preview_client_border_color = "#ffffff" -- The border color of each client
+theme.tag_preview_client_border_width = 3 -- The border width of each client
+theme.tag_preview_widget_bg = "#000000" -- The bg color of the widget
+theme.tag_preview_widget_border_color = "#ffffff" -- The border color of the widget
+theme.tag_preview_widget_border_width = 3 -- The border width of the widget
+theme.tag_preview_widget_margin = 0 -- The margin of the widget
+
+-- task preview widget
+theme.task_preview_widget_border_radius = 0 -- Border radius of the widget (With AA)
+theme.task_preview_widget_bg = "#000000" -- The bg color of the widget
+theme.task_preview_widget_border_color = "#ffffff" -- The border color of the widget
+theme.task_preview_widget_border_width = 3 -- The border width of the widget
+theme.task_preview_widget_margin = 0 -- The margin of the widget
+
+-- window switcher
+theme.window_switcher_widget_bg = "#000000" -- The bg color of the widget
+theme.window_switcher_widget_border_width = 3 -- The border width of the widget
+theme.window_switcher_widget_border_radius = 0 -- The border radius of the widget
+theme.window_switcher_widget_border_color = "#ffffff" -- The border color of the widget
+theme.window_switcher_clients_spacing = 20 -- The space between each client item
+theme.window_switcher_client_icon_horizontal_spacing = 5 -- The space between client icon and text
+theme.window_switcher_client_width = 150 -- The width of one client widget
+theme.window_switcher_client_height = 250 -- The height of one client widget
+theme.window_switcher_client_margins = 10 -- The margin between the content and the border of the widget
+theme.window_switcher_thumbnail_margins = 10 -- The margin between one client thumbnail and the rest of the widget
+theme.thumbnail_scale = false -- If set to true, the thumbnails fit policy will be set to "fit" instead of "auto"
+theme.window_switcher_name_margins = 10 -- The margin of one clients title to the rest of the widget
+theme.window_switcher_name_valign = "center" -- How to vertically align one clients title
+theme.window_switcher_name_forced_width = 200 -- The width of one title
+theme.window_switcher_name_font = "Sans 11" -- The font of all titles
+theme.window_switcher_name_normal_color = "#ffffff" -- The color of one title if the client is unfocused
+theme.window_switcher_name_focus_color = "#ff0000" -- The color of one title if the client is focused
+theme.window_switcher_icon_valign = "center" -- How to vertically align the one icon
+theme.window_switcher_icon_width = 40 -- The width of one icon
+
+-- LuaFormatter on
+return theme
+
diff --git a/awesome/themes/zachir/titlebar/close_focus.png b/awesome/themes/zachir/titlebar/close_focus.png
new file mode 100644
index 0000000..01ef825
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/close_focus.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/close_normal.png b/awesome/themes/zachir/titlebar/close_normal.png
new file mode 100644
index 0000000..5448ed8
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/close_normal.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/floating_focus_active.png b/awesome/themes/zachir/titlebar/floating_focus_active.png
new file mode 100644
index 0000000..82dcc7c
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/floating_focus_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/floating_focus_inactive.png b/awesome/themes/zachir/titlebar/floating_focus_inactive.png
new file mode 100644
index 0000000..c19ba80
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/floating_focus_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/floating_normal_active.png b/awesome/themes/zachir/titlebar/floating_normal_active.png
new file mode 100644
index 0000000..62342d1
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/floating_normal_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/floating_normal_inactive.png b/awesome/themes/zachir/titlebar/floating_normal_inactive.png
new file mode 100644
index 0000000..e2bbdfa
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/floating_normal_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/maximized_focus_active.png b/awesome/themes/zachir/titlebar/maximized_focus_active.png
new file mode 100644
index 0000000..d7dffd7
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/maximized_focus_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/maximized_focus_inactive.png b/awesome/themes/zachir/titlebar/maximized_focus_inactive.png
new file mode 100644
index 0000000..844389f
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/maximized_focus_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/maximized_normal_active.png b/awesome/themes/zachir/titlebar/maximized_normal_active.png
new file mode 100644
index 0000000..a705f81
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/maximized_normal_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/maximized_normal_inactive.png b/awesome/themes/zachir/titlebar/maximized_normal_inactive.png
new file mode 100644
index 0000000..4c1ab1f
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/maximized_normal_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/minimize_focus.png b/awesome/themes/zachir/titlebar/minimize_focus.png
new file mode 100644
index 0000000..caaceb2
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/minimize_focus.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/minimize_normal.png b/awesome/themes/zachir/titlebar/minimize_normal.png
new file mode 100644
index 0000000..36621d0
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/minimize_normal.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/ontop_focus_active.png b/awesome/themes/zachir/titlebar/ontop_focus_active.png
new file mode 100644
index 0000000..312c00b
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/ontop_focus_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/ontop_focus_inactive.png b/awesome/themes/zachir/titlebar/ontop_focus_inactive.png
new file mode 100644
index 0000000..a48e1c5
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/ontop_focus_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/ontop_normal_active.png b/awesome/themes/zachir/titlebar/ontop_normal_active.png
new file mode 100644
index 0000000..117a203
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/ontop_normal_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/ontop_normal_inactive.png b/awesome/themes/zachir/titlebar/ontop_normal_inactive.png
new file mode 100644
index 0000000..d3a10c8
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/ontop_normal_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/sticky_focus_active.png b/awesome/themes/zachir/titlebar/sticky_focus_active.png
new file mode 100644
index 0000000..814499b
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/sticky_focus_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/sticky_focus_inactive.png b/awesome/themes/zachir/titlebar/sticky_focus_inactive.png
new file mode 100644
index 0000000..21b000d
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/sticky_focus_inactive.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/sticky_normal_active.png b/awesome/themes/zachir/titlebar/sticky_normal_active.png
new file mode 100644
index 0000000..bdb5595
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/sticky_normal_active.png
Binary files differ
diff --git a/awesome/themes/zachir/titlebar/sticky_normal_inactive.png b/awesome/themes/zachir/titlebar/sticky_normal_inactive.png
new file mode 100644
index 0000000..a96b9b1
--- /dev/null
+++ b/awesome/themes/zachir/titlebar/sticky_normal_inactive.png
Binary files differ
diff --git a/foot/foot.ini b/foot/foot.ini
deleted file mode 100644
index 11ebba6..0000000
--- a/foot/foot.ini
+++ /dev/null
@@ -1,199 +0,0 @@
-# -*- conf -*-
-
-# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
-# term=foot (or xterm-256color if built with -Dterminfo=disabled)
-# login-shell=no
-
-# app-id=foot
-# title=foot
-# locked-title=no
-
-font=mononoki Nerd Font Mono:size=10
-# font-bold=<bold variant of regular font>
-# font-italic=<italic variant of regular font>
-# font-bold-italic=<bold+italic variant of regular font>
-# font-size-adjustment=0.5
-# line-height=<font metrics>
-# letter-spacing=0
-# horizontal-letter-offset=0
-# vertical-letter-offset=0
-# underline-offset=<font metrics>
-# underline-thickness=<font underline thickness>
-# box-drawings-uses-font-glyphs=no
-# dpi-aware=auto
-
-# initial-window-size-pixels=700x500 # Or,
-# initial-window-size-chars=<COLSxROWS>
-# initial-window-mode=windowed
-# pad=0x0 # optionally append 'center'
-# resize-delay-ms=100
-
-# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
-
-# bold-text-in-bright=no
-# word-delimiters=,│`|:"'()[]{}<>
-# selection-target=primary
-# workers=<number of logical CPUs>
-# utempter=/usr/lib/utempter/utempter
-
-[environment]
-# name=value
-
-[bell]
-# urgent=no
-# notify=no
-# command=
-# command-focused=no
-
-[scrollback]
-# lines=1000
-# multiplier=3.0
-# indicator-position=relative
-# indicator-format=""
-
-[url]
-launch=browser ${url}
-# label-letters=sadfjklewcmpgh
-# osc8-underline=url-mode
-# protocols=http, https, ftp, ftps, file, gemini, gopher
-# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
-
-[cursor]
-# style=block
-# color=<inverse foreground/background>
-# blink=no
-# beam-thickness=1.5
-# underline-thickness=<font underline thickness>
-
-[mouse]
-hide-when-typing=yes
-# alternate-scroll-mode=yes
-
-[colors]
-alpha=0.8
-background=000000
-foreground=c5c8c6
-
-## Normal/regular colors (color palette 0-7)
-regular0=1b1d1c # black
-regular1=89231d # red
-regular2=198844 # green
-regular3=ae7518 # yellow
-regular4=2b55b2 # blue
-regular5=784e93 # magenta
-regular6=2783a1 # cyan
-regular7=b4b7b5 # white
-
-## Bright colors (color palette 8-15)
-bright0=969896 # bright black
-bright1=cc342b # bright red
-bright2=4eec4e # bright green
-bright3=fba922 # bright yellow
-bright4=3971ed # bright blue
-bright5=a36ac7 # bright magenta
-bright6=39c1ed # bright cyan
-bright7=ffffff # bright white
-
-## dimmed colors (see foot.ini(5) man page)
-# dim0=<not set>
-# ...
-# dim7=<not-set>
-
-## The remaining 256-color palette
-# 16 = <256-color palette #16>
-# ...
-# 255 = <256-color palette #255>
-
-## Misc colors
-# selection-foreground=<inverse foreground/background>
-# selection-background=<inverse foreground/background>
-# jump-labels=<regular0> <regular3> # black-on-yellow
-# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
-# search-box-no-match=<regular0> <regular1> # black-on-red
-# search-box-match=<regular0> <regular3> # black-on-yellow
-# urls=<regular3>
-
-[csd]
-# preferred=server
-# size=26
-# font=<primary font>
-# color=<foreground color>
-# hide-when-typing=no
-# border-width=0
-# border-color=<csd.color>
-# button-width=26
-# button-color=<background color>
-# button-minimize-color=<regular4>
-# button-maximize-color=<regular2>
-# button-close-color=<regular1>
-
-[key-bindings]
-# scrollback-up-page=Shift+Page_Up
-# scrollback-up-half-page=none
-# scrollback-up-line=none
-# scrollback-down-page=Shift+Page_Down
-# scrollback-down-half-page=none
-# scrollback-down-line=none
-# clipboard-copy=Control+Shift+c XF86Copy
-# clipboard-paste=Control+Shift+v XF86Paste
-# primary-paste=Shift+Insert
-# search-start=Control+Shift+r
-# font-increase=Control+plus Control+equal Control+KP_Add
-# font-decrease=Control+minus Control+KP_Subtract
-# font-reset=Control+0 Control+KP_0
-# spawn-terminal=Control+Shift+n
-# minimize=none
-# maximize=none
-# fullscreen=none
-pipe-visible=[sh -c "xurls | xargs -r browser"] none
-pipe-scrollback=[sh -c "xurls | xargs -r browser"] Mod4+l
-pipe-selected=[xargs -r browser] none
-# show-urls-launch=Control+Shift+u
-# show-urls-copy=none
-# show-urls-persistent=none
-# prompt-prev=Control+Shift+z
-# prompt-next=Control+Shift+x
-# unicode-input=none
-# noop=none
-
-[search-bindings]
-# cancel=Control+g Control+c Escape
-# commit=Return
-# find-prev=Control+r
-# find-next=Control+s
-# cursor-left=Left Control+b
-# cursor-left-word=Control+Left Mod1+b
-# cursor-right=Right Control+f
-# cursor-right-word=Control+Right Mod1+f
-# cursor-home=Home Control+a
-# cursor-end=End Control+e
-# delete-prev=BackSpace
-# delete-prev-word=Mod1+BackSpace Control+BackSpace
-# delete-next=Delete
-# delete-next-word=Mod1+d Control+Delete
-# extend-to-word-boundary=Control+w
-# extend-to-next-whitespace=Control+Shift+w
-# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
-# primary-paste=Shift+Insert
-# unicode-input=none
-
-[url-bindings]
-# cancel=Control+g Control+c Control+d Escape
-# toggle-url-visible=t
-
-[text-bindings]
-# \x03=Mod4+c # Map Super+c -> Ctrl+c
-
-[mouse-bindings]
-# selection-override-modifiers=Shift
-# primary-paste=BTN_MIDDLE
-# select-begin=BTN_LEFT
-# select-begin-block=Control+BTN_LEFT
-# select-extend=BTN_RIGHT
-# select-extend-character-wise=Control+BTN_RIGHT
-# select-word=BTN_LEFT-2
-# select-word-whitespace=Control+BTN_LEFT-2
-# select-row=BTN_LEFT-3
-
-# vim: ft=dosini
-
diff --git a/hypr/gamemode.sh b/hypr/gamemode.sh
deleted file mode 100755
index a07ac4a..0000000
--- a/hypr/gamemode.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env sh
-HYPRGAMEMODE=$(hyprctl getoption animations:enabled | sed -n '2p' | awk '{print $2}')
-if [ $HYPRGAMEMODE = 1 ] ; then
- hyprctl --batch "\
- keyword animations:enabled 0;\
- keyword decoration:drop_shadow 0;\
- keyword decoration:blur 0;\
- keyword general:gaps_in 0;\
- keyword general:gaps_out 0;\
- keyword general:border_size 1;\
- keyword decoration:rounding 0"
- exit
-fi
-hyprctl reload
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
deleted file mode 100644
index aa2c040..0000000
--- a/hypr/hyprland.conf
+++ /dev/null
@@ -1,343 +0,0 @@
-# See https://wiki.hyprland.org/Configuring/Monitors/
-#{{{ Monitor config
-monitor = , preferred, auto, 1
-monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
-monitor = DP-1, 1920x1080@60, 1920x0, 1
-#}}}
-
-# See https://wiki.hyprland.org/Configuring/Keywords/ for more
-
-#{{{ Autostart
-# Execute your favorite apps at launch
-# exec-once = waybar & hyprpaper & firefox
-exec-once = ~/.config/autostart.sh
-exec-once = /usr/lib/polkit-kde-authentication-agent-1
-exec-once = xdph
-#}}}
-
-# Source a file (multi-file configs)
-# source = ~/.config/hypr/myColors.conf
-
-#{{{ Input options
-# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
-input {
- kb_layout = us
- kb_variant =
- kb_model =
- kb_options = caps:escape
- kb_rules =
- numlock_by_default = true
- scroll_method = "2fg"
- follow_mouse = 1
- touchpad {
- natural_scroll = no
- }
- float_switch_override_focus = 0
- sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
-}
-#}}}
-
-#{{{ General options
-general {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- gaps_in = 5
- gaps_out = 20
- border_size = 2
- #col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
- #col.inactive_border = rgba(595959aa)
- col.active_border = rgba(198844ee)
- col.inactive_border = rgba(1b1d1cee)
- layout = master
- no_cursor_warps = false
-}
-#}}}
-
-#{{{ Misc options
-misc {
- enable_swallow = true
- swallow_regex = ^(kitty)$
- vfr = false
-}
-#}}}
-
-#{{{ Decoration options
-decoration {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- rounding = 10
- drop_shadow = yes
- shadow_range = 4
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
- #{{{ Blur options
- blur {
- enabled = true
- size = 3
- passes = 1
- new_optimizations = true
- xray = true
- }
- #}}}
-}
-
-#}}}
-
-
-#{{{ Animations options
-animations {
- enabled = no
- # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
- bezier = myBezier, 0.05, 0.9, 0.1, 1.05
- animation = windows, 1, 7, myBezier
- animation = windowsOut, 1, 7, default, popin 80%
- animation = border, 1, 10, default
- animation = borderangle, 1, 8, default
- animation = fade, 1, 7, default
- animation = workspaces, 1, 6, default
-}
-#}}}
-
-#{{{ Dwindle layout options
-dwindle {
- # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
- pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
- preserve_split = yes # you probably want this
- special_scale_factor = 0.55
-}
-#}}}
-
-#{{{ Master layout options
-master {
- special_scale_factor = 0.55
- mfact = 0.55
- # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
- new_is_master = false
- new_on_top = true
- no_gaps_when_only = true
- orientation = left
- inherit_fullscreen = true
-}
-#}}}
-
-#{{{ Gestures options
-gestures {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- workspace_swipe = off
-}
-#}}}
-
-#{{{ Device options
-# Example per-device config
-# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
-device:epic mouse V1 {
- sensitivity = -0.5
-}
-#}}}
-
-#{{{ Windowrules
-# Example windowrule v1
-# windowrule = float, ^(kitty)$
-# Example windowrule v2
-# windowrulev2 = float, class:^(kitty)$, title:^(kitty)$
-# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
-windowrule = windowdance, title:^(Rhythm Doctor)$
-windowrule = fullscreen, ^(Xephyr)$
-windowrule = float, title:^(LibreWolf - Choose User Profile)$
-windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$
-windowrulev2 = float,floating:0,title:^(menu*)
-windowrulev2 = forceinput,title:^(menu*)
-windowrulev2 = windowdance,title:^(menu*)
-#}}}
-
-#{{{ Mods
-# See https://wiki.hyprland.org/Configuring/Keywords/ for more
-$mainMod = ALT
-$secdMod = SUPER
-#}}}
-
-#{{{ Layout toggle bind
-# Layout toggle
-#bind = $mainMod $secdMod, A, exec, hypr-layout -t
-#}}}
-
-#{{{ Master layout binds
-# Master layout binds
-bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster master #MASTER
-bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER
-bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER
-bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER
-bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER
-binde = $mainMod, J, layoutmsg, cyclenext #MASTER
-binde = $mainMod, K, layoutmsg, cycleprev #MASTER
-binde = $mainMod, H, splitratio, -0.01 #MASTER
-binde = $mainMod, L, splitratio, +0.01 #MASTER
-bind = $mainMod+SHIFT, O, splitratio, exact 0.55 #MASTER
-bind = $mainMod, O, splitratio, exact 0.69 #MASTER
-#}}}
-
-#{{{ Dwindle layout binds
-## Dwindle layout binds
-#bind = $mainMod, P, pseudo, #DWINDLE
-#bind = $mainMod $secdMod, S, togglesplit, #DWINDLE
-## Move focus with mainMod + HJKL
-#bind = $mainMod, H, movefocus, l #DWINDLE
-#bind = $mainMod, L, movefocus, r #DWINDLE
-#bind = $mainMod, K, movefocus, u #DWINDLE
-#bind = $mainMod, J, movefocus, d #DWINDLE
-## Move window with mainMod + HJKL
-#bind = $mainMod SHIFT, L, movewindow, r #DWINDLE
-#bind = $mainMod SHIFT, H, movewindow, l #DWINDLE
-#bind = $mainMod SHIFT, J, movewindow, d #DWINDLE
-#bind = $mainMod SHIFT, K, movewindow, u #DWINDLE
-## Resize clients with mainMod + secdMod + HJKL
-#binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE
-#binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE
-#binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE
-#binde = $mainMod $secdMod, J, resizeactive, 0 10 #DWINDLE
-#}}}
-
-#{{{ Group binds
-# Group binds
-#bind = $mainMod CONTROL, G, togglegroup,
-#bind = $mainMod CONTROL, I, lockgroups, lock
-#bind = $mainMod CONTROL, U, lockgroups, unlock
-#bind = $mainMod CONTROL, H, moveintogroup, r
-#bind = $mainMod CONTROL, L, moveintogroup, l
-#bind = $mainMod CONTROL, J, moveintogroup, d
-#bind = $mainMod CONTROL, K, moveintogroup, u
-#}}}
-
-#{{{ WC binds
-bind = $mainMod SHIFT, Q, killactive,
-bind = $mainMod SHIFT, E, exit,
-bind = $mainMod SHIFT, SPACE, togglefloating,
-bind = $mainMod $secdMod, F2, exec, ~/.config/hypr/gamemode.sh
-bind = $mainMod, F, fullscreen, 0
-bind = $mainMod, M, fullscreen, 1
-#}}}
-
-#{{{ Workspace binds
-# Switch workspaces with mainMod + [0-9]
-bind = $mainMod, 1, workspace, 1
-bind = $mainMod, 2, workspace, 2
-bind = $mainMod, 3, workspace, 3
-bind = $mainMod, 4, workspace, 4
-bind = $mainMod, 5, workspace, 5
-bind = $mainMod, 6, workspace, 6
-bind = $mainMod, 7, workspace, 7
-bind = $mainMod, 8, workspace, 8
-bind = $mainMod, 9, workspace, 9
-# Move active window to a workspace with mainMod + SHIFT + [0-9]
-bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
-bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
-bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
-bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
-bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
-bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
-bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
-bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
-bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
-bind = $mainMod CONTROL SHIFT, 1, movetoworkspace, 1
-bind = $mainMod CONTROL SHIFT, 2, movetoworkspace, 2
-bind = $mainMod CONTROL SHIFT, 3, movetoworkspace, 3
-bind = $mainMod CONTROL SHIFT, 4, movetoworkspace, 4
-bind = $mainMod CONTROL SHIFT, 5, movetoworkspace, 5
-bind = $mainMod CONTROL SHIFT, 6, movetoworkspace, 6
-bind = $mainMod CONTROL SHIFT, 7, movetoworkspace, 7
-bind = $mainMod CONTROL SHIFT, 8, movetoworkspace, 8
-bind = $mainMod CONTROL SHIFT, 9, movetoworkspace, 9
-bind = $mainMod, mouse_down, workspace, e+1
-bind = $mainMod, mouse_up, workspace, e-1
-#}}}
-
-#{{{ Mouse binds
-# Move/resize windows with mainMod + LMB/RMB and dragging
-bindm = $mainMod, mouse:272, movewindow
-bindm = $mainMod, mouse:273, resizewindow
-#}}}
-
-#{{{ Resize submap binds
-bind = $mainMod $secdMod, R, submap, resize
-submap = resize
-binde = CONTROL, L, resizeactive, 10 0
-binde = CONTROL, H, resizeactive, -10 0
-binde = CONTROL, K, resizeactive, 0 -10
-binde = CONTROL, J, resizeactive, 0 10
-binde = , escape, submap, reset
-submap = reset
-#}}}
-
-#{{{ Menu bindings
-bind = $mainMod, R, exec, exec sh -c "$(tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
-bind = $mainMod, D, exec, exec sh -c "$(tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
-bind = $mainMod $secdMod, Q, exec, qbc
-bind = $mainMod $secdMod, W, exec, lwc
-bind = $mainMod $secdMod, E, exec, mbc
-bind = $mainMod $secdMod, R, exec, ffc
-bind = $mainMod $secdMod, 1, exec, bm
-bind = $mainMod $secdMod, comma, exec, dmount -p
-bind = $mainMod $secdMod, period, exec, dmenuumount
-bind = $mainMod $secdMod CONTROL, U, exec, dmenuunicode
-bind = $mainMod $secdMod, U, exec, mprisctl
-bind = $mainMod $secdMod, P, exec, passmenu
-#}}}
-
-#{{{ Misc bindings
-bind = $mainMod, Return, exec, kitty
-bind = $mainMod $secdMod, F, exec, kitty -e lfrun
-bind = $mainMod, W, exec, t waybar
-bind = $mainMod, Q, exec, loginctl lock-session
-bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend
-bind = $mainMod SHIFT, G, exec, get-app-id
-#bind = $mainMod CONTROL, R, exec, startx -- /usr/bin/Xephyr -screen 1920x1080 :1
-#}}}
-
-#{{{ Scratchpads
-bind = $mainMod CONTROL, Z, exec, [workspace special:sphtop;float;noanim] sphtop
-bind = $mainMod CONTROL, X, exec, [workspace special:spterm;float;noanim] spterm
-bind = $mainMod CONTROL, C, exec, [workspace special:sppmxr;float;noanim] sppmxr
-bind = $mainMod CONTROL, V, exec, [workspace special:spblue;float;noanim] spblue
-bind = $mainMod CONTROL, B, exec, [workspace special:spncmp;float;noanim] spncmp
-bind = $mainMod CONTROL, A, exec, [workspace special:spmutt;float;noanim] spmutt
-bind = $mainMod CONTROL, S, exec, [workspace special:spprof;float;noanim] spprof
-bind = $mainMod CONTROL, D, exec, [workspace special:spirss;float;noanim] spirss
-bind = $mainMod CONTROL, F, exec, [workspace special:sptodo;float;noanim] sptodo
-bind = $mainMod CONTROL, G, exec, [workspace special:sptrmc;float;noanim] sptrmc
-bind = $mainMod CONTROL, Q, exec, [workspace special:spqpwg;float;noanim] spqpwg
-#}}}
-
-#{{{ OBS bindings
-bind = $mainMod CONTROL, 1, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 2, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 3, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 4, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 5, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 6, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 7, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 8, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 9, pass, ^(com\.obsproject\.Studio)$
-bind = $mainMod CONTROL, 0, pass, ^(com\.obsproject\.Studio)$
-#}}}
-
-#{{{ Inert submap binds
-bind = $mainMod, B, submap, inert
-submap = inert
-bind = $mainMod, B, submap, reset
-submap = reset
-#}}}
-
-#{{{ Media bindings
-bindl = $secdMod, P, exec, playerctl play-pause
-bindel = , XF86AudioRaiseVolume, exec, volsv -i 5
-bindel = , XF86AudioLowerVolume, exec, volsv -d 5
-bind = , XF86AudioPlay, exec, playerctl play-pause
-bind = , XF86AudioStop, exec, playerctl stop
-bind = , XF86AudioPrev, exec, playerctl previous
-bind = , XF86AudioNext, exec, playerctl next
-bind = , XF86AudioMute, exec, volsv -t
-bindl = , XF86AudioMicMute, exec, volsv -m
-bindel = , XF86MonBrightnessUp, exec, bl -i
-bindel = , XF86MonBrightnessDown, exec, bl -d
-bindl = $mainMod, XF86MonBrightnessUp, exec, bl -s 100
-bindl = $mainMod, XF86MonBrightnessDown, exec, bl -s 1
-bind = , Print, exec, scrshot
-#}}}
diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf
deleted file mode 100644
index daf4d23..0000000
--- a/hypr/hyprpaper.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-preload = ~/background.jpg
-#if more than one preload is desired then continue to preload other backgrounds
-#preload = /path/to/next_image.png
-# .. more preloads
-
-#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used
-wallpaper = eDP-1,~/background.jpg
-wallpaper = HDMI-A-1,~/background.jpg
-wallpaper = HDMI-A-2,~/background.jpg
-wallpaper = DP-1,~/background.jpg
-wallpaper = DP-2,~/background.jpg
-#if more than one monitor in use, can load a 2nd image
-#wallpaper = monitor2,~/background.jpg
-# .. more monitors
diff --git a/lf/lfrc b/lf/lfrc
index dd106f9..9a61fc3 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -15,6 +15,9 @@ cmd open ${{
jnlp)
javaws "$f"
;;
+ mp3|flac|webm|ogg)
+ mpv "$f"
+ ;;
*)
case $(file --mime-type "$f" -bL) in
text/*|application/json) $EDITOR "$f" ;;
diff --git a/nwg-bar/bar.json b/nwg-bar/bar.json
deleted file mode 100644
index 82bc6ed..0000000
--- a/nwg-bar/bar.json
+++ /dev/null
@@ -1,22 +0,0 @@
-[
- {
- "label": "Lock",
- "exec": "loginctl lock-session self",
- "icon": "/usr/share/nwg-bar/images/system-lock-screen.svg"
- },
- {
- "label": "Logout",
- "exec": "hyprctl dispatch exit",
- "icon": "/usr/share/nwg-bar/images/system-log-out.svg"
- },
- {
- "label": "Reboot",
- "exec": "loginctl reboot",
- "icon": "/usr/share/nwg-bar/images/system-reboot.svg"
- },
- {
- "label": "Shutdown",
- "exec": "loginctl -i poweroff",
- "icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
- }
-]
diff --git a/picom.conf b/picom.conf
new file mode 100644
index 0000000..3f0b9f7
--- /dev/null
+++ b/picom.conf
@@ -0,0 +1,429 @@
+#################################
+# Shadows #
+#################################
+
+
+# Enabled client-side shadows on windows. Note desktop windows
+# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
+# unless explicitly requested using the wintypes option.
+#
+# shadow = false
+shadow = true;
+
+# The blur radius for shadows, in pixels. (defaults to 12)
+# shadow-radius = 12
+shadow-radius = 7;
+
+# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
+# shadow-opacity = .75
+
+# The left offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-x = -15
+shadow-offset-x = -7;
+
+# The top offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-y = -15
+shadow-offset-y = -7;
+
+# Red color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-red = 0
+
+# Green color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-green = 0
+
+# Blue color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-blue = 0
+
+# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
+# shadow-color = "#000000"
+
+# Specify a list of conditions of windows that should have no shadow.
+#
+# examples:
+# shadow-exclude = "n:e:Notification";
+#
+# shadow-exclude = []
+shadow-exclude = [
+ "name = 'Notification'",
+ "class_g = 'Conky'",
+ "class_g ?= 'Notify-osd'",
+ "class_g = 'Cairo-clock'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
+# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
+# clip-shadow-above = []
+
+# Specify a X geometry that describes the region in which shadow should not
+# be painted in, such as a dock window region. Use
+# shadow-exclude-reg = "x10+0+0"
+# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
+#
+# shadow-exclude-reg = ""
+
+# Crop shadow of a window fully on a particular Xinerama screen to the screen.
+# xinerama-shadow-crop = false
+
+
+#################################
+# Fading #
+#################################
+
+
+# Fade windows in/out when opening/closing and when opacity changes,
+# unless no-fading-openclose is used.
+# fading = false
+fading = false;
+
+# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
+# fade-in-step = 0.028
+fade-in-step = 0.03;
+
+# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
+# fade-out-step = 0.03
+fade-out-step = 0.03;
+
+# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
+# fade-delta = 10
+
+# Specify a list of conditions of windows that should not be faded.
+# fade-exclude = []
+
+# Do not fade on window open/close.
+# no-fading-openclose = false
+
+# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
+# no-fading-destroyed-argb = false
+
+
+#################################
+# Transparency / Opacity #
+#################################
+
+
+# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
+# inactive-opacity = 1
+inactive-opacity = 1;
+
+# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
+# frame-opacity = 1.0
+frame-opacity = 0.9;
+
+# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
+# inactive-opacity-override = true
+inactive-opacity-override = false;
+
+# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
+# active-opacity = 1.0
+
+# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
+# inactive-dim = 0.0
+
+# Specify a list of conditions of windows that should never be considered focused.
+# focus-exclude = []
+focus-exclude = [ "class_g = 'Cairo-clock'" ];
+
+# Use fixed inactive dim value, instead of adjusting according to window opacity.
+# inactive-dim-fixed = 1.0
+
+# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
+# like `50:name *= "Firefox"`. picom-trans is recommended over this.
+# Note we don't make any guarantee about possible conflicts with other
+# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
+# example:
+# opacity-rule = [ "80:class_g = 'URxvt'" ];
+#
+# opacity-rule = []
+# opacity-rule [ "100:name = 'REAPER'" ];
+
+
+#################################
+# Corners #
+#################################
+
+# Sets the radius of rounded window corners. When > 0, the compositor will
+# round the corners of windows. Does not interact well with
+# `transparent-clipping`.
+corner-radius = 0
+
+# Exclude conditions for rounded corners.
+rounded-corners-exclude = [
+ "window_type = 'dock'",
+ "window_type = 'desktop'"
+];
+
+
+#################################
+# Background-Blurring #
+#################################
+
+
+# Parameters for background blurring, see the *BLUR* section for more information.
+# blur-method =
+# blur-size = 12
+#
+# blur-deviation = false
+#
+# blur-strength = 5
+
+# Blur background of semi-transparent / ARGB windows.
+# Bad in performance, with driver-dependent behavior.
+# The name of the switch may change without prior notifications.
+#
+# blur-background = false
+
+# Blur background of windows when the window frame is not opaque.
+# Implies:
+# blur-background
+# Bad in performance, with driver-dependent behavior. The name may change.
+#
+# blur-background-frame = false
+
+
+# Use fixed blur strength rather than adjusting according to window opacity.
+# blur-background-fixed = false
+
+
+# Specify the blur convolution kernel, with the following format:
+# example:
+# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
+#
+# blur-kern = ""
+blur-kern = "3x3box";
+
+
+# Exclude conditions for background blur.
+# blur-background-exclude = []
+blur-background-exclude = [
+ "window_type = 'dock'",
+ "window_type = 'desktop'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
+#################################
+# General Settings #
+#################################
+
+# Enable remote control via D-Bus. See the man page for more details.
+# dbus = true
+
+# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
+# daemon = false
+
+# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
+# `xrender` is the default one.
+#
+# backend = "glx"
+backend = "xrender";
+
+# Enable/disable VSync.
+# vsync = false
+vsync = true;
+
+# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
+# dbus = false
+
+# Try to detect WM windows (a non-override-redirect window with no
+# child that has 'WM_STATE') and mark them as active.
+#
+# mark-wmwin-focused = false
+mark-wmwin-focused = true;
+
+# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
+# mark-ovredir-focused = false
+mark-ovredir-focused = true;
+
+# Try to detect windows with rounded corners and don't consider them
+# shaped windows. The accuracy is not very high, unfortunately.
+#
+# detect-rounded-corners = false
+detect-rounded-corners = true;
+
+# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
+# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
+#
+# detect-client-opacity = false
+detect-client-opacity = true;
+
+# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
+# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
+# provided that the WM supports it.
+#
+# use-ewmh-active-win = false
+
+# Unredirect all windows if a full-screen opaque window is detected,
+# to maximize performance for full-screen windows. Known to cause flickering
+# when redirecting/unredirecting windows.
+#
+# unredir-if-possible = false
+
+# Delay before unredirecting the window, in milliseconds. Defaults to 0.
+# unredir-if-possible-delay = 0
+
+# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
+# unredir-if-possible-exclude = []
+
+# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
+# in the same group focused at the same time.
+#
+# detect-transient = false
+detect-transient = true;
+
+# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
+# group focused at the same time. This usually means windows from the same application
+# will be considered focused or unfocused at the same time.
+# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
+#
+# detect-client-leader = false
+
+# Resize damaged region by a specific number of pixels.
+# A positive value enlarges it while a negative one shrinks it.
+# If the value is positive, those additional pixels will not be actually painted
+# to screen, only used in blur calculation, and such. (Due to technical limitations,
+# with use-damage, those pixels will still be incorrectly painted to screen.)
+# Primarily used to fix the line corruption issues of blur,
+# in which case you should use the blur radius value here
+# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
+# with a 5x5 one you use `--resize-damage 2`, and so on).
+# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
+#
+# resize-damage = 1
+
+# Specify a list of conditions of windows that should be painted with inverted color.
+# Resource-hogging, and is not well tested.
+#
+# invert-color-include = []
+
+# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
+# Might cause incorrect opacity when rendering transparent content (but never
+# practically happened) and may not work with blur-background.
+# My tests show a 15% performance boost. Recommended.
+#
+glx-no-stencil = true;
+
+# GLX backend: Avoid rebinding pixmap on window damage.
+# Probably could improve performance on rapid window content changes,
+# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
+# Recommended if it works.
+#
+# glx-no-rebind-pixmap = false
+
+# Disable the use of damage information.
+# This cause the whole screen to be redrawn every time, instead of the part of the screen
+# has actually changed. Potentially degrades the performance, but might fix some artifacts.
+# The opposing option is use-damage
+#
+# no-use-damage = false
+use-damage = true;
+
+# Use X Sync fence to sync clients' draw calls, to make sure all draw
+# calls are finished before picom starts drawing. Needed on nvidia-drivers
+# with GLX backend for some users.
+#
+# xrender-sync-fence = false
+
+# GLX backend: Use specified GLSL fragment shader for rendering window
+# contents. Read the man page for a detailed explanation of the interface.
+#
+# window-shader-fg = "default"
+
+# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
+# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
+#
+# window-shader-fg-rule = [
+# "my_shader.frag:window_type != 'dock'"
+# ]
+
+# Force all windows to be painted with blending. Useful if you
+# have a glx-fshader-win that could turn opaque pixels transparent.
+#
+# force-win-blend = false
+
+# Do not use EWMH to detect fullscreen windows.
+# Reverts to checking if a window is fullscreen based only on its size and coordinates.
+#
+# no-ewmh-fullscreen = false
+
+# Dimming bright windows so their brightness doesn't exceed this set value.
+# Brightness of a window is estimated by averaging all pixels in the window,
+# so this could comes with a performance hit.
+# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
+#
+# max-brightness = 1.0
+
+# Make transparent windows clip other windows like non-transparent windows do,
+# instead of blending on top of them.
+#
+# transparent-clipping = false
+
+# Specify a list of conditions of windows that should never have transparent
+# clipping applied. Useful for screenshot tools, where you need to be able to
+# see through transparent parts of the window.
+#
+# transparent-clipping-exclude = []
+
+# Set the log level. Possible values are:
+# "trace", "debug", "info", "warn", "error"
+# in increasing level of importance. Case doesn't matter.
+# If using the "TRACE" log level, it's better to log into a file
+# using *--log-file*, since it can generate a huge stream of logs.
+#
+# log-level = "debug"
+log-level = "warn";
+
+# Set the log file.
+# If *--log-file* is never specified, logs will be written to stderr.
+# Otherwise, logs will to written to the given file, though some of the early
+# logs might still be written to the stderr.
+# When setting this option from the config file, it is recommended to use an absolute path.
+#
+# log-file = "/path/to/your/log/file"
+
+# Show all X errors (for debugging)
+# show-all-xerrors = false
+
+# Write process ID to a file.
+# write-pid-path = "/path/to/your/log/file"
+
+# Window type settings
+#
+# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
+# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
+# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
+# "tooltip", "notification", "combo", and "dnd".
+#
+# Following per window-type options are available: ::
+#
+# fade, shadow:::
+# Controls window-type-specific shadow and fade settings.
+#
+# opacity:::
+# Controls default opacity of the window type.
+#
+# focus:::
+# Controls whether the window of this type is to be always considered focused.
+# (By default, all window types except "normal" and "dialog" has this on.)
+#
+# full-shadow:::
+# Controls whether shadow is drawn under the parts of the window that you
+# normally won't be able to see. Useful when the window has parts of it
+# transparent, and you want shadows in those areas.
+#
+# clip-shadow-above:::
+# Controls whether shadows that would have been drawn above the window should
+# be clipped. Useful for dock windows that should have no shadow painted on top.
+#
+# redir-ignore:::
+# Controls whether this type of windows should cause screen to become
+# redirected again after been unredirected. If you have unredir-if-possible
+# set, and doesn't want certain window to cause unnecessary screen redirection,
+# you can set this to `true`.
+#
+wintypes:
+{
+ tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+ dock = { shadow = false; clip-shadow-above = true; }
+ dnd = { shadow = false; }
+ popup_menu = { opacity = 0.8; }
+ dropdown_menu = { opacity = 0.8; }
+};
diff --git a/pipewire/filters-available/toharmantarget/akg271mkii.conf b/pipewire/filters-available/toharmantarget/akg271mkii.conf
deleted file mode 100644
index 883e52d..0000000
--- a/pipewire/filters-available/toharmantarget/akg271mkii.conf
+++ /dev/null
@@ -1,98 +0,0 @@
-# 6 band sink equalizer
-#
-# Copy this file into a conf.d/ directory such as
-# ~/.config/pipewire/filter-chain.conf.d/
-#
-context.modules = [
- { name = libpipewire-module-filter-chain
- args = {
- node.description = "AKG k271 mkii Match"
- media.name = "AKG k271 mkii Match"
- filter.graph = {
- nodes = [
- {
- type = builtin
- name = eq_band_1
- label = bq_lowshelf
- control = { "Freq" = 62.0 "Q" = 0.9 "Gain" = 7.0 }
- }
- {
- type = builtin
- name = eq_band_2
- label = bq_peaking
- control = { "Freq" = 140.0 "Q" = 2.5 "Gain" = 3.0 }
- }
- {
- type = builtin
- name = eq_band_3
- label = bq_highshelf
- control = { "Freq" = 200.0 "Q" = 1.2 "Gain" = -4.7 }
- }
- {
- type = builtin
- name = eq_band_4
- label = bq_peaking
- control = { "Freq" = 660.0 "Q" = 2.8 "Gain" = -6.6 }
- }
- {
- type = builtin
- name = eq_band_5
- label = bq_peaking
- control = { "Freq" = 745.0 "Q" = 2.5 "Gain" = 5.5 }
- }
- {
- type = builtin
- name = eq_band_6
- label = bq_peaking
- control = { "Freq" = 1820.0 "Q" = 1.5 "Gain" = -4.4 }
- }
- {
- type = builtin
- name = eq_band_7
- label = bq_peaking
- control = { "Freq" = 3000.0 "Q" = 1.8 "Gain" = 5.4 }
- }
- {
- type = builtin
- name = eq_band_8
- label = bq_peaking
- control = { "Freq" = 3200.0 "Q" = 5.0 "Gain" = -2.3 }
- }
- {
- type = builtin
- name = eq_band_9
- label = bq_peaking
- control = { "Freq" = 4800.0 "Q" = 2.0 "Gain" = 3.6 }
- }
- {
- type = builtin
- name = eq_band_10
- label = bq_highshelf
- control = { "Freq" = 6500.0 "Q" = 2.5 "Gain" = -1.5 }
- }
- ]
- links = [
- { output = "eq_band_1:Out" input = "eq_band_2:In" }
- { output = "eq_band_2:Out" input = "eq_band_3:In" }
- { output = "eq_band_3:Out" input = "eq_band_4:In" }
- { output = "eq_band_4:Out" input = "eq_band_5:In" }
- { output = "eq_band_5:Out" input = "eq_band_6:In" }
- { output = "eq_band_6:Out" input = "eq_band_7:In" }
- { output = "eq_band_7:Out" input = "eq_band_8:In" }
- { output = "eq_band_8:Out" input = "eq_band_9:In" }
- { output = "eq_band_9:Out" input = "eq_band_10:In" }
- ]
- }
- audio.channels = 2
- audio.position = [ FL FR ]
- capture.props = {
- node.name = "effect_input.k271ii"
- media.class = Audio/Sink
- }
- playback.props = {
- node.name = "effect_output.k271ii"
- node.passive = true
- }
- }
- }
-]
diff --git a/pipewire/filters-available/toharmantarget/atm50x.conf b/pipewire/filters-available/toharmantarget/atm50x.conf
deleted file mode 100644
index 7dced89..0000000
--- a/pipewire/filters-available/toharmantarget/atm50x.conf
+++ /dev/null
@@ -1,98 +0,0 @@
-# 6 band sink equalizer
-#
-# Copy this file into a conf.d/ directory such as
-# ~/.config/pipewire/filter-chain.conf.d/
-#
-context.modules = [
- { name = libpipewire-module-filter-chain
- args = {
- node.description = "AT m50x Match"
- media.name = "AT m50x Match"
- filter.graph = {
- nodes = [
- {
- type = builtin
- name = eq_band_1
- label = bq_peaking
- control = { "Freq" = 40.0 "Q" = 0.5 "Gain" = -4.9 }
- }
- {
- type = builtin
- name = eq_band_2
- label = bq_lowshelf
- control = { "Freq" = 105.0 "Q" = 0.71 "Gain" = 5.5 }
- }
- {
- type = builtin
- name = eq_band_3
- label = bq_peaking
- control = { "Freq" = 150.0 "Q" = 0.8 "Gain" = -4.0 }
- }
- {
- type = builtin
- name = eq_band_4
- label = bq_peaking
- control = { "Freq" = 335.0 "Q" = 1.3 "Gain" = 5.7 }
- }
- {
- type = builtin
- name = eq_band_5
- label = bq_peaking
- control = { "Freq" = 1550 "Q" = 1.2 "Gain" = 1.5 }
- }
- {
- type = builtin
- name = eq_band_6
- label = bq_peaking
- control = { "Freq" = 2600.0 "Q" = 1.6 "Gain" = -1.1 }
- }
- {
- type = builtin
- name = eq_band_7
- label = bq_peaking
- control = { "Freq" = 4350.0 "Q" = 4.0 "Gain" = -5.0 }
- }
- {
- type = builtin
- name = eq_band_8
- label = bq_peaking
- control = { "Freq" = 5300.0 "Q" = 1.0 "Gain" = 5.5 }
- }
- {
- type = builtin
- name = eq_band_9
- label = bq_peaking
- control = { "Freq" = 5700.0 "Q" = 4.0 "Gain" = -3.5 }
- }
- {
- type = builtin
- name = eq_band_10
- label = bq_highshelf
- control = { "Freq" = 10000.0 "Q" = 0.71 "Gain" = -1.0 }
- }
- ]
- links = [
- { output = "eq_band_1:Out" input = "eq_band_2:In" }
- { output = "eq_band_2:Out" input = "eq_band_3:In" }
- { output = "eq_band_3:Out" input = "eq_band_4:In" }
- { output = "eq_band_4:Out" input = "eq_band_5:In" }
- { output = "eq_band_5:Out" input = "eq_band_6:In" }
- { output = "eq_band_6:Out" input = "eq_band_7:In" }
- { output = "eq_band_7:Out" input = "eq_band_8:In" }
- { output = "eq_band_8:Out" input = "eq_band_9:In" }
- { output = "eq_band_9:Out" input = "eq_band_10:In" }
- ]
- }
- audio.channels = 2
- audio.position = [ FL FR ]
- capture.props = {
- node.name = "effect_input.atm50x"
- media.class = Audio/Sink
- }
- playback.props = {
- node.name = "effect_output.atm50x"
- node.passive = true
- }
- }
- }
-]
diff --git a/pipewire/filters-available/toharmantarget/jbudsair.conf b/pipewire/filters-available/toharmantarget/jbudsair.conf
deleted file mode 100644
index 9b21ab5..0000000
--- a/pipewire/filters-available/toharmantarget/jbudsair.conf
+++ /dev/null
@@ -1,98 +0,0 @@
-# 6 band sink equalizer
-#
-# Copy this file into a conf.d/ directory such as
-# ~/.config/pipewire/filter-chain.conf.d/
-#
-context.modules = [
- { name = libpipewire-module-filter-chain
- args = {
- node.description = "JBuds Air Match"
- media.name = "JBuds Air Match"
- filter.graph = {
- nodes = [
- {
- type = builtin
- name = eq_band_1
- label = bq_lowshelf
- control = { "Freq" = 105.0 "Q" = 0.7 "Gain" = -6.4 }
- }
- {
- type = builtin
- name = eq_band_2
- label = bq_peaking
- control = { "Freq" = 183.0 "Q" = 1.19 "Gain" = -4.7 }
- }
- {
- type = builtin
- name = eq_band_3
- label = bq_peaking
- control = { "Freq" = 769.0 "Q" = 0.65 "Gain" = 2.0 }
- }
- {
- type = builtin
- name = eq_band_4
- label = bq_peaking
- control = { "Freq" = 2724.0 "Q" = 1.58 "Gain" = 5.7 }
- }
- {
- type = builtin
- name = eq_band_5
- label = bq_peaking
- control = { "Freq" = 3849.0 "Q" = 3.9 "Gain" = -3.7 }
- }
- {
- type = builtin
- name = eq_band_6
- label = bq_peaking
- control = { "Freq" = 66.0 "Q" = 2.29 "Gain" = 1.4 }
- }
- {
- type = builtin
- name = eq_band_7
- label = bq_peaking
- control = { "Freq" = 122.0 "Q" = 2.76 "Gain" = -0.8 }
- }
- {
- type = builtin
- name = eq_band_8
- label = bq_peaking
- control = { "Freq" = 6673.0 "Q" = 4.97 "Gain" = -2.9 }
- }
- {
- type = builtin
- name = eq_band_9
- label = bq_peaking
- control = { "Freq" = 9784.0 "Q" = 2.89 "Gain" = -1.3 }
- }
- {
- type = builtin
- name = eq_band_10
- label = bq_highshelf
- control = { "Freq" = 10000.0 "Q" = 0.7 "Gain" = 0.6 }
- }
- ]
- links = [
- { output = "eq_band_1:Out" input = "eq_band_2:In" }
- { output = "eq_band_2:Out" input = "eq_band_3:In" }
- { output = "eq_band_3:Out" input = "eq_band_4:In" }
- { output = "eq_band_4:Out" input = "eq_band_5:In" }
- { output = "eq_band_5:Out" input = "eq_band_6:In" }
- { output = "eq_band_6:Out" input = "eq_band_7:In" }
- { output = "eq_band_7:Out" input = "eq_band_8:In" }
- { output = "eq_band_8:Out" input = "eq_band_9:In" }
- { output = "eq_band_9:Out" input = "eq_band_10:In" }
- ]
- }
- audio.channels = 2
- audio.position = [ FL FR ]
- capture.props = {
- node.name = "effect_input.jbudsair"
- media.class = Audio/Sink
- }
- playback.props = {
- node.name = "effect_output.jbudsair"
- node.passive = true
- }
- }
- }
-]
diff --git a/river/init b/river/init
deleted file mode 100755
index cfa8c39..0000000
--- a/river/init
+++ /dev/null
@@ -1,223 +0,0 @@
-#!/bin/sh
-
-# This is the example configuration file for river.
-#
-# If you wish to edit this, you will probably want to copy it to
-# $XDG_CONFIG_HOME/river/init or $HOME/.config/river/init first.
-#
-# See the river(1), riverctl(1), and rivertile(1) man pages for complete
-# documentation.
-
-# Note: the "$mod1" modifier is also known as Logo, GUI, Windows, Mod4, etc.
-
-mod1="Alt"
-mod2="Super"
-
-# $mod1+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
-riverctl map normal $mod1 Return spawn foot
-
-# $mod1+Q to close the focused view
-riverctl map normal $mod1+Shift Q close
-
-# $mod1+Shift+E to exit river
-riverctl map normal $mod1+Shift E exit
-
-# $mod1+J and $mod1+K to focus the next/previous view in the layout stack
-riverctl map normal $mod1 J focus-view next
-riverctl map normal $mod1 K focus-view previous
-
-# $mod1+Shift+J and $mod1+Shift+K to swap the focused view with the next/previous
-# view in the layout stack
-riverctl map normal $mod1+Shift J swap next
-riverctl map normal $mod1+Shift K swap previous
-
-# $mod1+Period and $mod1+Comma to focus the next/previous output
-riverctl map normal $mod1 Period focus-output next
-riverctl map normal $mod1 Comma focus-output previous
-
-# $mod1+Shift+{Period,Comma} to send the focused view to the next/previous output
-riverctl map normal $mod1+Shift Period send-to-output next
-riverctl map normal $mod1+Shift Comma send-to-output previous
-
-# $mod1+Return to bump the focused view to the top of the layout stack
-riverctl map normal $mod1+Shift Return zoom
-
-# $mod1+H and $mod1+L to decrease/increase the main ratio of rivertile(1)
-riverctl map normal $mod1 H send-layout-cmd rivertile "main-ratio -0.05"
-riverctl map normal $mod1 L send-layout-cmd rivertile "main-ratio +0.05"
-
-# $mod1+Shift+H and $mod1+Shift+L to increment/decrement the main count of rivertile(1)
-riverctl map normal $mod1+Shift H send-layout-cmd rivertile "main-count +1"
-riverctl map normal $mod1+Shift L send-layout-cmd rivertile "main-count -1"
-
-# $mod1+$mod2+{H,J,K,L} to move views
-riverctl map normal $mod1+$mod2 H move left 100
-riverctl map normal $mod1+$mod2 J move down 100
-riverctl map normal $mod1+$mod2 K move up 100
-riverctl map normal $mod1+$mod2 L move right 100
-
-# $mod1+$mod2+Control+{H,J,K,L} to snap views to screen edges
-riverctl map normal $mod1+$mod2+Control H snap left
-riverctl map normal $mod1+$mod2+Control J snap down
-riverctl map normal $mod1+$mod2+Control K snap up
-riverctl map normal $mod1+$mod2+Control L snap right
-
-# $mod1+$mod2+Shift+{H,J,K,L} to resize views
-riverctl map normal $mod1+$mod2+Shift H resize horizontal -100
-riverctl map normal $mod1+$mod2+Shift J resize vertical 100
-riverctl map normal $mod1+$mod2+Shift K resize vertical -100
-riverctl map normal $mod1+$mod2+Shift L resize horizontal 100
-
-# $mod1 + Left Mouse Button to move views
-riverctl map-pointer normal $mod1 BTN_LEFT move-view
-
-# $mod1 + Right Mouse Button to resize views
-riverctl map-pointer normal $mod1 BTN_RIGHT resize-view
-
-# $mod1 + Middle Mouse Button to toggle float
-riverctl map-pointer normal $mod1 BTN_MIDDLE toggle-float
-
-# Mouse rules
-riverctl set-cursor-warp on-output-change
-riverctl focus-follors-cursor always
-
-for i in $(seq 1 9)
-do
- tags=$((1 << ($i - 1)))
-
- # $mod1+[1-9] to focus tag [0-8]
- riverctl map normal $mod1 $i set-focused-tags $tags
-
- # $mod1+Shift+[1-9] to tag focused view with tag [0-8]
- riverctl map normal $mod1+Shift $i set-view-tags $tags
-
- # $mod1+Ctrl+[1-9] to toggle focus of tag [0-8]
- riverctl map normal $mod1+Control $i toggle-focused-tags $tags
-
- # $mod1+Shift+Ctrl+[1-9] to toggle tag [0-8] of focused view
- riverctl map normal $mod1+Shift+Control $i toggle-view-tags $tags
-done
-
-# $mod1+0 to focus all tags
-# $mod1+Shift+0 to tag focused view with all tags
-all_tags=$(((1 << 9) - 1))
-riverctl map normal $mod1 0 set-focused-tags $all_tags
-riverctl map normal $mod1+Shift 0 set-view-tags $all_tags
-
-# scratchpad tags
-BINPATH="${XDG_CONFIG_HOME:-$HOME/.config}/river/sp"
-riverctl map normal $mod1+Control z spawn "$BINPATH/river_sp z"
-riverctl map normal $mod1+Control x spawn "$BINPATH/river_sp x"
-riverctl map normal $mod1+Control c spawn "$BINPATH/river_sp c"
-riverctl map normal $mod1+Control v spawn "$BINPATH/river_sp v"
-riverctl map normal $mod1+Control b spawn "$BINPATH/river_sp b"
-riverctl map normal $mod1+Control a spawn "$BINPATH/river_sp a"
-riverctl map normal $mod1+Control s spawn "$BINPATH/river_sp s"
-riverctl map normal $mod1+Control d spawn "$BINPATH/river_sp d"
-riverctl map normal $mod1+Control f spawn "$BINPATH/river_sp f"
-riverctl map normal $mod1+Control g spawn "$BINPATH/river_sp g"
-riverctl map normal $mod1+Control q spawn "$BINPATH/river_sp q"
-
-# $mod1+Space to toggle float
-riverctl map normal $mod1+Control Space toggle-float
-
-# $mod1+F to toggle fullscreen
-riverctl map normal $mod1 F toggle-fullscreen
-
-# $mod1+{Up,Right,Down,Left} to change layout orientation
-riverctl map normal $mod1 Up send-layout-cmd rivertile "main-location top"
-riverctl map normal $mod1 Right send-layout-cmd rivertile "main-location right"
-riverctl map normal $mod1 Down send-layout-cmd rivertile "main-location bottom"
-riverctl map normal $mod1 Left send-layout-cmd rivertile "main-location left"
-
-# Declare a passthrough mode. This mode has only a single mapping to return to
-# normal mode. This makes it useful for testing a nested wayland compositor
-riverctl declare-mode passthrough
-
-# $mod1+F11 to enter passthrough mode
-riverctl map normal $mod1 b enter-mode passthrough
-
-# $mod1+F11 to return to normal mode
-riverctl map passthrough $mod1 b enter-mode normal
-
-# Various media key mapping examples for both normal and locked mode which do
-# not have a modifier
-for mode in normal locked
-do
- # Eject the optical drive (well if you still have one that is)
- riverctl map $mode None XF86Eject spawn 'eject -T'
-
- # Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer)
- riverctl map $mode None XF86AudioRaiseVolume spawn 'volsv -i'
- riverctl map $mode None XF86AudioLowerVolume spawn 'volsv -d'
- riverctl map $mode None XF86AudioMute spawn 'volsv -t'
- riverctl map $mode None XF86AudioMicMute spawn 'volsv -m'
-
- # Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl)
- riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause'
- riverctl map $mode None XF86AudioPlay spawn 'playerctl play-pause'
- riverctl map $mode None XF86AudioPrev spawn 'playerctl previous'
- riverctl map $mode None XF86AudioNext spawn 'playerctl next'
-
- # Control screen backlight brightness with light (https://github.com/haikarainen/light)
- riverctl map $mode None XF86MonBrightnessUp spawn 'bl -i 5'
- riverctl map $mode None XF86MonBrightnessDown spawn 'bl -d 5'
-done
-
-# add browser shortcuts
-riverctl map normal $mod1+$mod2 1 spawn "bm -w"
-riverctl map normal $mod1+$mod2 q spawn "qbc -w"
-riverctl map normal $mod1+$mod2 w spawn "lwc -w"
-riverctl map normal $mod1+$mod2 e spawn "ffc -w"
-
-# add other menu shortcuts
-riverctl map normal $mod1+$mod2 p spawn passmenu
-riverctl map normal $mod1 r spawn 'exec $(tofi-drun)'
-riverctl map normal $mod1 d spawn 'exec $(tofi-run)'
-riverctl map normal $mod1+$mod2+Control u spawn 'dmenuunicode -w'
-riverctl map normal $mod1+$mod2 Comma spawn 'dmenumount -w'
-riverctl map normal $mod1+$mod2 Period spawn 'dmenuumount -w'
-riverctl map normal $mod1+$mod2 b spawn 'dmenu_books -w'
-riverctl map normal $mod1+$mod2 u spawn 'mprisctl -w'
-
-# add other shortcuts
-riverctl map normal $mod1 q spawn 'loginctl lock-session self'
-riverctl map normal $mod1+$mod2 f spawn 'foot lf'
-riverctl map normal $mod1+$mod2 m spawn 'volsv -t'
-riverctl map normal $mod1+$mod2+Shift m spawn 'volsv -m'
-
-# secondary mod shortcuts
-riverctl map normal $mod2 p spawn 'playerctl play-pause'
-
-# Set background and border color
-riverctl background-color 0x000000
-riverctl border-color-focused 0x535d6c
-riverctl border-color-unfocused 0x000000
-
-# Set keyboard repeat rate
-riverctl set-repeat 50 300
-
-# Make certain views start floating
-riverctl float-filter-add app-id float
-riverctl float-filter-add app-id "sphtop"
-riverctl float-filter-add app-id "spterm"
-riverctl float-filter-add app-id "sppmxr"
-riverctl float-filter-add app-id "spblue"
-riverctl float-filter-add app-id "spncmp"
-riverctl float-filter-add app-id "spmutt"
-riverctl float-filter-add app-id "spprof"
-riverctl float-filter-add app-id "spirss"
-riverctl float-filter-add app-id "sptodo"
-riverctl float-filter-add app-id "sptrmc"
-riverctl float-filter-add app-id "qpwgraph"
-riverctl float-filter-add title "popup title with spaces"
-
-# Set app-ids and titles of views which should use client side decorations
-riverctl csd-filter-add app-id "gedit"
-
-# Set the default layout generator to be rivertile and start it.
-# River will send the process group of the init executable SIGTERM on exit.
-riverctl default-layout rivertile
-rivertile -view-padding 6 -outer-padding 6 &
-
-sh ~/.config/autostart.sh &
diff --git a/river/sp/river_sp b/river/sp/river_sp
deleted file mode 100755
index 9b1e1ad..0000000
--- a/river/sp/river_sp
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-#{{{ binpath
-BINPATH="${XDG_CONFIG_HOME:-$HOME/.config}/river/sp"
-#}}}
-
-#{{{ spawnwindow
-spawnwindow () {
- case "$1" in
- 1) pgrep -x sp_z || ${BINPATH}/sp_z ;;
- 2) pgrep -x sp_x || ${BINPATH}/sp_x ;;
- 3) pgrep -x sp_c || ${BINPATH}/sp_c ;;
- 4) pgrep -x sp_v || ${BINPATH}/sp_v ;;
- 5) pgrep -x sp_b || ${BINPATH}/sp_b ;;
- 6) pgrep -x sp_a || ${BINPATH}/sp_a ;;
- 7) pgrep -x sp_s || ${BINPATH}/sp_s ;;
- 8) pgrep -x sp_d || ${BINPATH}/sp_d ;;
- 9) pgrep -x sp_f || ${BINPATH}/sp_f ;;
- 10) pgrep -x sp_g || ${BINPATH}/sp_g ;;
- 11) pgrep -x sp_q || ${BINPATH}/sp_q ;;
- *) printf "Unknown scratchpad $1!\n" ; exit 1 ;;
- esac
-}
-#}}}
-
-#{{{ getopts
-for i in "$@"; do
- case "$i" in
- z) ARG=1 ;;
- x) ARG=2 ;;
- c) ARG=3 ;;
- v) ARG=4 ;;
- b) ARG=5 ;;
- a) ARG=6 ;;
- s) ARG=7 ;;
- d) ARG=8 ;;
- f) ARG=9 ;;
- g) ARG=10 ;;
- q) ARG=11 ;;
- *) printf "Unknown scratchpad $i!\n" ; exit 1 ;;
- esac
- if pgrep -x "sp_$i"; then
- riverctl toggle-focused-tags $((1 << ($ARG + 9)))
- else
- riverctl toggle-focused-tags $(( 1 << ($ARG + 9)))
- riverctl spawn-tagmask $(( 1 << ($ARG + 9)))
- spawnwindow "$ARG"
- riverctl spawn-tagmask $(( (1 << 9) - 1))
- fi
-done
-#}}}
diff --git a/river/sp/sp_a b/river/sp/sp_a
deleted file mode 100755
index d76f78e..0000000
--- a/river/sp/sp_a
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spmutt" neomutt
diff --git a/river/sp/sp_b b/river/sp/sp_b
deleted file mode 100755
index 208cf4c..0000000
--- a/river/sp/sp_b
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spncmp" ncmpcpp
diff --git a/river/sp/sp_c b/river/sp/sp_c
deleted file mode 100755
index 0201227..0000000
--- a/river/sp/sp_c
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "sppmxr" pulsemixer
diff --git a/river/sp/sp_d b/river/sp/sp_d
deleted file mode 100755
index 1545c87..0000000
--- a/river/sp/sp_d
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spirss" irssi
diff --git a/river/sp/sp_f b/river/sp/sp_f
deleted file mode 100755
index f2468ea..0000000
--- a/river/sp/sp_f
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "sptodo" todo
diff --git a/river/sp/sp_g b/river/sp/sp_g
deleted file mode 100755
index 7b3a393..0000000
--- a/river/sp/sp_g
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "sptrmc" tremc
diff --git a/river/sp/sp_s b/river/sp/sp_s
deleted file mode 100755
index 288373c..0000000
--- a/river/sp/sp_s
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spprof" profanity
diff --git a/river/sp/sp_v b/river/sp/sp_v
deleted file mode 100755
index 009e18d..0000000
--- a/river/sp/sp_v
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spblue" bluetoothctl
diff --git a/river/sp/sp_x b/river/sp/sp_x
deleted file mode 100755
index ef07b51..0000000
--- a/river/sp/sp_x
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "spterm"
diff --git a/river/sp/sp_z b/river/sp/sp_z
deleted file mode 100755
index c6414ed..0000000
--- a/river/sp/sp_z
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-foot -a "sphtop" htop
diff --git a/sh/aliases b/sh/aliases
index 6b254d7..ef9a53b 100644
--- a/sh/aliases
+++ b/sh/aliases
@@ -24,13 +24,13 @@ esac
alias ll='ls -l'
alias la='ls -A'
alias lla='ls -lA'
+alias lb='lsblk'
alias md='mkdir -p'
alias ch='cd $HOME'
#alias nvim='vim'
alias nv='nvim'
alias v='nvim'
-#alias lf='lfrun'
## Change utils
alias rm='rm -i'
diff --git a/sh/profile b/sh/profile
index 1174421..79151b9 100644
--- a/sh/profile
+++ b/sh/profile
@@ -2,11 +2,17 @@
. /etc/profile
[ -f /etc/profile.d/nix-daemon.sh ] && . /etc/profile.d/nix-daemon.sh
-# Other XDG paths
+# Other XDG vars
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
+export XDG_CURRENT_DESKTOP="i3"
+export XDG_DOCUMENTS_DIR=${HOME}/Documents
+export XDG_DOWNLOAD_DIR=${HOME}/Downloads
+export XDG_DESKTOP_DIR=${HOME}/Desktop
+export XDG_VIDEOS_DIR=${HOME}/Videos
+
# Doesn't seem to work
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
@@ -55,7 +61,6 @@ export QT_QPA_PLATFORMTHEME=qt5ct
# Fix wayland stuff
export MOZ_ENABLE_WAYLAND=1
export XKB_DEFAULT_OPTIONS=caps:escape
-export XDG_CURRENT_DESKTOP=Unity
# Default Apps
export EDITOR="nvim"
diff --git a/swayidle/config b/swayidle/config
deleted file mode 100644
index 210ff01..0000000
--- a/swayidle/config
+++ /dev/null
@@ -1,3 +0,0 @@
-timeout 600 swaylockd
-before-sleep swaylockd
-lock waylockd
diff --git a/swaylock/config b/swaylock/config
deleted file mode 100644
index 55ca360..0000000
--- a/swaylock/config
+++ /dev/null
@@ -1,2 +0,0 @@
-ignore-empty-password
-color=000000
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
new file mode 100755
index 0000000..1c10dfe
--- /dev/null
+++ b/sxhkd/sxhkdrc
@@ -0,0 +1,140 @@
+#
+# wm independent hotkeys
+#
+
+# reload sxhkd config
+super + Escape
+ pkill -USR1 -x sxhkd
+
+#
+# dmenu interfaces
+#
+
+# program launcher
+super + d
+ dmenu_run -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'
+
+# desktop application launcher
+super + r
+ j4-dmenu-desktop --dmenu="dmenu -i -l 15 -h 36 -fn 'mononoki Nerd Font Mono' -nb '#000' -nf '#c5c8c6' -sb '#198844' -sf '#000'"
+
+# dmenu prompt for recording
+super + control + r
+ dmenurecord
+
+# run dmenu interface for pass
+super + alt + p
+ passmenu
+
+# run dmenu interface for ytfzf
+super + y
+ ytfzf-launcher -D 'dmenu -l 15'
+
+# run dmenu interface to spawn browsers
+super + alt + 1
+ bm
+
+# run dmenu interface for qutebrowser profile chooser
+super + alt + q
+ qbc
+ #qbpm choose
+
+# run dmenu interface for librewolf profile chooser
+super + alt + w
+ lwc
+
+# run dmenu interface for mpris
+super + alt + u
+ mprisctl
+
+# run dmenu interface for mount
+super + alt + comma
+ dmount
+
+# run dmenu interface for umount
+super + alt + period
+ dmenuumount
+
+#run dmenu prompt for unicode chars
+super + alt + u
+ dmenuunicode
+
+#
+# utilities
+#
+
+# get xprop
+super + grave
+ notifyprop
+
+# warp cursor to left or right monitor
+super + {Left,Right}
+ mwarp.py {left,right}
+
+# lock the screen
+super + q
+ loginctl lock-session self
+
+# spawn file manager
+super + alt + f
+ kitty lfrun
+
+# toggle touchpad
+super + alt + t
+ toggletouchpad
+
+# notify-send firewall rules
+super + alt + f
+ notify-iptables
+
+# mute volume
+super + alt + m
+ volsv -t
+
+# mute microphone
+super + alt + shift + m
+ volsv -m
+
+# load nsxiv for backgrounds
+super + alt + x
+ nsxiv ~/.local/src/wallpapers
+
+# xkill
+super + x
+ xkill
+
+# pause mpd
+alt + p
+ playerctl play-pause
+
+#
+# xf86 keys
+#
+
+# manipulate audio stream
+XF86Audio{Prev,Next,Play,Stop}
+ playerctl {previous,next,play-pause,stop}
+
+# turn the brightness up
+XF86MonBrightnessUp
+ bl -i 1
+
+# turn the brightness down
+XF86MonBrightnessDown
+ bl -d 1
+
+# raise the volume
+XF86AudioRaiseVolume
+ volsv -i
+
+# lower the volume
+XF86AudioLowerVolume
+ volsv -d
+
+# toggle mute
+XF86AudioMute
+ volsv -t
+
+# mute mic
+XF86AudioMicMute
+ volsv -m
diff --git a/tofi/config b/tofi/config
deleted file mode 120000
index 54cdd97..0000000
--- a/tofi/config
+++ /dev/null
@@ -1 +0,0 @@
-/home/zachir/.config/tofi/themes/dmenu \ No newline at end of file
diff --git a/tofi/themes/colors b/tofi/themes/colors
deleted file mode 100644
index a5f480c..0000000
--- a/tofi/themes/colors
+++ /dev/null
@@ -1,17 +0,0 @@
-background-color = #000000
-outline-color = #39c1ed
-border-color = #39c1ed
-text-color = #ffffff
-prompt-color = #39c1ed
-prompt-background = #000000
-placeholder-color = #39c1ed
-placeholder-background = #000000
-input-color = #ffffff
-input-background = #000000
-default-result-background = #000000
-alternate-result-color = #ffffff
-alternate-result-background = #000000
-selection-color = #000000
-selection-match-color = #198844
-selection-background = #39c1ed
-
diff --git a/tofi/themes/dmenu b/tofi/themes/dmenu
deleted file mode 100644
index 6bf9074..0000000
--- a/tofi/themes/dmenu
+++ /dev/null
@@ -1,22 +0,0 @@
-include = "themes/colors"
-
-hidden-character = "*"
-anchor = top
-width = 100%
-height = 36
-horizontal = true
-font-size = 24
-prompt-text = ""
-font = mononoki Nerd Font Mono
-outline-width = 0
-border-width = 0
-min-input-width = 424
-result-spacing = 15
-padding-top = 0
-padding-bottom = 0
-padding-left = 0
-padding-right = 0
-history = false
-selection-background-padding = 12
-result-spacing = 24
-require-match=false
diff --git a/tofi/themes/dmenu_vertical b/tofi/themes/dmenu_vertical
deleted file mode 100644
index 1b7259a..0000000
--- a/tofi/themes/dmenu_vertical
+++ /dev/null
@@ -1,28 +0,0 @@
-include = "colors"
-
-hidden-character = "*"
-anchor = top
-width = 100%
-height = 600
-horizontal = false
-font-size = 24
-prompt-text = ""
-prompt-padding = 24
-font = mononoki Nerd Font Mono
-outline-width = 0
-border-width = 0
-min-input-width = 424
-result-spacing = 12
-selection-background-padding = 0, 12
-padding-top = 0
-padding-bottom = 0
-padding-left = 12
-padding-right = 12
-margin-top = 0
-margin-bottom = 0
-margin-left = 12
-margin-right = 12
-clip-to-padding=true
-history = false
-require-match = false
-num-results = 15
diff --git a/waybar/config b/waybar/config
deleted file mode 100644
index 2aa44d4..0000000
--- a/waybar/config
+++ /dev/null
@@ -1,160 +0,0 @@
-{
- "layer": "top",
- "position": "top",
- "height": 36,
- //"output": "%%DISPLAY%%",
- "spacing": 4,
- //"margin-top": 5,
- //"margin-bottom":5,
-
- // Choose the order of the modules
-
- "modules-left":[ "wlr/workspaces", "custom/launcher", "hyprland/window"],
- "modules-center":[],
- "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature#cpu", "backlight", "battery#bat0", "battery#bat1", "network", "clock", "tray", "custom/power"],
-
- // Modules configuration
-
- "wlr/workspaces": {
- "format": "{name}",
- "active-only": false,
- "all-outputs": false,
- "persistent_workspaces": {
- "1": [],
- "2": [],
- "3": [],
- "4": [],
- "5": [],
- "6": [],
- "7": [],
- "8": [],
- "9": []
- },
- "on-scroll-up": "hyprctl dispatch workspace e+1",
- "on-scroll-down": "hyprctl dispatch workspace e-1",
- "on-click": "activate"
- },
- "hyprland/window": {
- "separate-outputs": true,
- "format": "{}"
- },
- "keyboard-state": {
- "numlock": true,
- "capslock": true,
- "format": " {name} {icon}",
- "format-icons": {
- "locked": "",
- "unlocked": ""
- }
- },
- "mpd": {
- "format": "{artist} - {title}",
- "format-stopped": "",
- "format-paused": "{artist} - {title}",
- "format-disconnected": "",
- "artist-len": 15,
- "title-len": 15,
- //"album-len": 15,
- //"max-length": 200,
- "on-click": "mpc toggle"
- },
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
- "tray": {
- "icon-size": 20,
- "spacing": 10
- },
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
- "cpu": {
- "format": "{usage}% ",
- "tooltip": false
- },
- "memory": {
- "format": "{}% "
- },
- "temperature#cpu": {
- // "thermal-zone": 2,
- "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
- "critical-threshold": 100,
- "format-critical": "CPU {temperatureC}°C {icon}",
- "format": "CPU {temperatureC}°C",
- "format-icons": ["", "", ""]
- },
- "backlight": {
- // "device": "acpi_video1",
- "format": "{percent}%"
- //"format-icons": ["", ""]
- },
- "battery": {
- "states": {
- // "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}%",
- "format-charging": "{capacity}% +",
- "format-plugged": "{capacity}% =",
- "format-alt": "{time}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- //"format-icons": ["", "", "", "", ""]
- },
- "battery#bat0": {
- "bat": "BAT0"
- },
- "battery#bat1": {
- "bat": "BAT1"
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "{essid} ({signalStrength}%) ",
- "format-ethernet": "Connected  ",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "Disconnected ⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}",
- "on-click-right": "bash ~/.config/rofi/wifi_menu/rofi_wifi_menu"
- },
- "pulseaudio": {
- // "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon}",
- "format-bluetooth": "{volume}% {icon}",
- "format-bluetooth-muted": "{icon} {format_source}",
- "format-muted": "{format_source}",
- "format-source": "",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""]
- },
- "on-click": "pavucontrol"
- },
- "custom/launcher":{
- "format": "",
- "on-click": "exec $(tofi-drun)",
- "on-click-right": "killall tofi"
- },
- "custom/power":{
- "format": " ",
- "on-click": "nwg-bar",
- "on-click-right": "killall nwg-bar"
- },
- "custom/snip":{
- "format": " ",
- "on-click": "grimshot --notify save area $HOME/Pictures/$(zenity --entry --text 'Set filename:' --entry-text '.png')"
- }
-}
diff --git a/waybar/style.css b/waybar/style.css
deleted file mode 100644
index 33f459a..0000000
--- a/waybar/style.css
+++ /dev/null
@@ -1,326 +0,0 @@
-* {
- border: 0px;
- margin: 0px;
- border-radius: 0px;
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: mononoki Nerd Font Mono;
- font-size: 18px;
- min-height: 0px;
- min-width: 0px;
-}
-
-window#waybar {
- background-color: transparent;
- color: #ffffff;
- transition-property: background-color;
- transition-duration: .5s;
-}
-
-window#waybar.hidden {
- opacity: 0.2;
-}
-
-
-/*
-#workspaces button {
- background: #1f1f1f;
- color: #ffffff;
- border-radius: 20px;
-}
-*/
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-
-#workspaces button {
- background: #333333;
- color: white;
- border-bottom: 3px solid #1b1d1c;
-}
-
-/*
-#workspaces button:hover {
- background: #39c1ed;
- color: black;
- border-bottom: 3px solid #ffffff;
-
-}
-*/
-
-#workspaces button.active {
- background: #39c1ed;
-}
-
-/*
-#workspaces button.active:hover {
- background: #39c1ed;
- color: black;
- border-bottom: 3px solid #ffffff;
-}
-*/
-
-#workspaces button.urgent {
- background-color: #eb4d4b;
-}
-
-#workspaces button.persistent {
- background: black;
-}
-
-#mode {
- background-color: #64727D;
- border-bottom: 3px solid #ffffff;
-}
-
-#clock,
-#battery,
-#cpu,
-#memory,
-#disk,
-#temperature,
-#backlight,
-#network,
-#pulseaudio,
-#custom-media,
-#custom-launcher,
-#custom-power,
-#custom-layout,
-#custom-updater,
-#custom-snip,
-#custom-wallpaper,
-#tags,
-#taskbar,
-#tray,
-#mode,
-#idle_inhibitor,
-#mpd {
- padding: 0px 9px;
- margin: 0px;
- color: #ffffff;
-}
-
-#window,
-#workspaces {
- margin: 0px 4px;
-}
-
-/* If workspaces is the leftmost module, omit left margin */
-.modules-left > widget:first-child > #workspaces {
- margin-left: 0px;
-}
-
-/* If workspaces is the rightmost module, omit right margin */
-.modules-right > widget:last-child > #workspaces {
- margin-right: 0px;
-}
-
-#clock {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#battery {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#battery.charging, #battery.plugged {
- color: #39c1ed;
- background-color: #1b1d1c;
-}
-
-@keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
-}
-
-#battery.critical:not(.charging) {
- background-color: #f53c3c;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
-
-label:focus {
- background-color: #000000;
-}
-
-#cpu {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#memory {
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#disk {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#backlight {
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#network {
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#network.disconnected {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#pulseaudio {
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#pulseaudio.muted {
- background-color: #1b1d1c;
- color: #39c1ed;
-}
-
-#custom-media {
- background-color: #1b1d1c;
- color: white;
-}
-
-#custom-media.custom-spotify {
- background-color: #1b1d1c;
- color: white;
-
-}
-
-#custom-media.custom-vlc {
- background-color: #1b1d1c;
- color: white;
-}
-
-#custom-power{
- background-color: #1b1d1c;
- font-size: 18px;
- margin-right: 5px;
-
-}
-
-#custom-launcher{
- background-color: #1b1d1c;
- font-size: 20px;
- margin-left: 5px;
-
-}
-
-#custom-layout{
- background-color: #1b1d1c;
- color: white;
- font-size:20px;
-}
-
-#custom-updater {
- background-color: #1b1d1c;
- color: white;
-}
-
-#custom-snip {
- background-color: #1b1d1c;
- color: skyblue;
- font-size: 20px;
-}
-
-#custom-wallpaper {
- background-color: #1b1d1c;
- color: pink;
- font-size: 20px;
-}
-
-#tags{
- background-color: #1b1d1c;
- font-size: 20px;
-}
-
-#tags button.occupied {
- color: skyblue;
- background-color: #272727;
-}
-#tags button.focused {
- color: black;
- background-color: white;
-}
-#tags button.urgent{
- color: red;
- background-color:white;
-}
-
-
-#taskbar{
- background-color: #1b1d1c;
- border-radius: 0px 20px 20px 0px;
-}
-
-#temperature {
- background-color: #1b1d1c;
- color: #ffffff;
-}
-
-#temperature.critical {
- background-color: #eb4d4b;
-}
-
-#tray {
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#tray > .passive {
- -gtk-icon-effect: dim;
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#tray > .needs-attention {
- -gtk-icon-effect: highlight;
- background-color: #39c1ed;
- color: #ffffff;
-}
-
-#idle_inhibitor {
- background-color: #1b1d1c;
- border-radius: 20px 0px 0px 20px;
-
-}
-
-#idle_inhibitor.activated {
- background-color: #39c1ed;
- color: #ffffff;
- border-radius: 20px 0px 0px 20px;
-
-}
-
-#language {
- background-color: #1b1d1c;
- color: #ffffff;
- min-width: 16px;
-}
-
-#keyboard-state {
- background: #97e1ad;
- color: #000000;
- min-width: 16px;
-}
-
-#keyboard-state > label {
- padding: 0px 5px;
-}
-
-#keyboard-state > label.locked {
- background: rgba(0, 0, 0, 0.2);
-}
diff --git a/yay/config.json b/yay/config.json
index 21bab87..0e764be 100644
--- a/yay/config.json
+++ b/yay/config.json
@@ -22,7 +22,7 @@
"searchby": "name-desc",
"gitflags": "",
"removemake": "ask",
- "sudobin": "doas",
+ "sudobin": "sudo",
"sudoflags": "",
"requestsplitn": 150,
"sortmode": 0,
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 2e6db15..9fc265c 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -100,5 +100,4 @@ bindkey -- '^[[B' down-line-or-beg
[[ -n "${key[Shift-Tab]}" ]] && bindkey -- "${key[Shift-Tab]}" reverse-menu-complete
[[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char
-#eval "$(starship init zsh)"
-type portmaster-start 2>&1 >/dev/null && eval "$(portmaster-start --data=/opt/safing/portmaster completion zsh)"
+precmd () {print -Pn "\e]0;terminal\a"}