diff --git a/.config/dconf/user b/.config/dconf/user index 5a3a907..93285be 100644 Binary files a/.config/dconf/user and b/.config/dconf/user differ diff --git a/.config/fish/config.fish b/.config/fish/config.fish index cf96d3c..1e59934 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -6,6 +6,7 @@ abbr --add ll ll -a abbr --add adl album-dl.fish abbr --add vv nvim abbr --add tr gio trash +abbr --add --set-cursor tldr curl cheat.sh/% function alacritty command alacritty msg create-window $argv @@ -15,18 +16,6 @@ function mvi --description 'Launches mpv with mvi configuration' mpv --config-dir=$HOME/.config/mvi/ $argv end -function open --description 'Opens a file in its default application' - argparse h/help -- $argv - or return - - if set -ql _flag_help - echo "open [-h|--help] [STRING]" - return 0 - end - - niri msg action spawn -- xdg-open $argv -end - # BEGIN opam configuration # This is useful if you're using opam as it adds: # - the correct directories to the PATH diff --git a/.config/mako/config b/.config/mako/config index 00d6c51..6115111 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -2,6 +2,7 @@ font=Adwaita Sans 10 default-timeout=5000 +layer=overlay anchor=top-center margin=12 padding=8 diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 742c5ea..33478ce 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -46,7 +46,7 @@ vim.cmd.colorscheme("gruvbox") -- [[ Set up keymaps ]] See `:h vim.keymap.set()`, `:h mapping`, `:h keycodes` -- Use to exit terminal mode -vim.keymap.set("t", "", "") +vim.keymap.set("t", "", "") -- Map , , , to navigate between windows in any modes vim.keymap.set({ "t", "i" }, "", "h") diff --git a/.config/nvim/nvim-pack-lock.json b/.config/nvim/nvim-pack-lock.json index fcb5f0c..4c3c542 100644 --- a/.config/nvim/nvim-pack-lock.json +++ b/.config/nvim/nvim-pack-lock.json @@ -32,6 +32,10 @@ "rev": "6010e588e9ed14724880f244d7fa3df8f0be3f46", "src": "https://github.com/nvim-mini/mini.diff" }, + "mini.files": { + "rev": "fafacfecdd6c5a66bb10d173a749f3c098e84498", + "src": "https://github.com/nvim-mini/mini.files" + }, "mini.hipatterns": { "rev": "add8d8abad602787377ec5d81f6b248605828e0f", "src": "https://github.com/nvim-mini/mini.hipatterns" diff --git a/.config/procps/toprc b/.config/procps/toprc index aa1cff7..da7fb99 100644 --- a/.config/procps/toprc +++ b/.config/procps/toprc @@ -1,11 +1,11 @@ top's Config File (Linux processes with windows) Id:k, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=0 -Def fieldscur= 75 81 103 105 119 123 129 121 137 111 117 115 139 76 78 82 84 86 88 90 +Def fieldscur= 75 81 103 105 119 123 129 120 137 111 117 115 139 76 78 82 84 86 88 90 92 94 96 98 100 106 108 112 124 126 130 132 134 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192 194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272 - winflags=195348, sortindx=18, maxtasks=0, graph_cpus=1, graph_mems=1, double_up=0, combine_cpus=0, core_types=0 + winflags=457524, sortindx=14, maxtasks=0, graph_cpus=1, graph_mems=1, double_up=0, combine_cpus=0, core_types=0 summclr=2, msgsclr=11, headclr=15, taskclr=7 Job fieldscur= 75 77 115 111 117 80 103 105 137 119 123 128 120 79 139 82 84 86 88 90 92 94 96 98 100 106 108 112 124 126 130 132 134 140 142 144 146 148 150 152 diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 9a45ec2..88a3ffe 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -13,6 +13,8 @@ c.fileselect.folder.command = ['alacritty', '-e', 'ranger', '--choosedir={}'] c.fileselect.multiple_files.command = ['alacritty', '-e', 'ranger', '--choosefiles={}'] c.fileselect.single_file.command = ['alacritty', '-e', 'ranger', '--choosefile={}'] +c.colors.webpage.preferred_color_scheme = 'dark' + config.bind('', 'spawn mpv {url}') c.content.blocking.enabled = True diff --git a/.config/systemd/user/alacritty.service b/.config/systemd/user/alacritty.service index acb35cc..06599cb 100644 --- a/.config/systemd/user/alacritty.service +++ b/.config/systemd/user/alacritty.service @@ -1,15 +1,8 @@ [Unit] Description=Alacritty Daemon -Before=graphical-session.target -After=graphical-session-pre.target +After=graphical-session.target PartOf=graphical-session.target -StartLimitIntervalSec=30 -StartLimitBurst=3 [Service] -ExecStart=alacritty --daemon --socket %t/alacritty.sock +ExecStart=alacritty --daemon Restart=on-failure -RestartSec=5s - -[Install] -WantedBy=graphical-session-pre.target diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 79d161d..82aa8db 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -50,8 +50,8 @@ "format-ethernet": "󰈁", "format-disconnected": "", //An empty format will hide the module. "tooltip-format": "{ifname}", - "tooltip-format-wifi": "{essid} ({signalStrength}%) 󰖩", - "tooltip-format-ethernet": "{ifname} 󰈁", + "tooltip-format-wifi": "󰖩 {essid} ({signalStrength}%)", + "tooltip-format-ethernet": "󰈁 {ifname}", "tooltip-format-disconnected": "Disconnected", "min-length": 2 }, diff --git a/.local/scripts/actionmenu.fish b/.local/scripts/actionmenu.fish index a8abaab..cbf08b8 100755 --- a/.local/scripts/actionmenu.fish +++ b/.local/scripts/actionmenu.fish @@ -66,7 +66,34 @@ function audio_sink wpctl set-default $ids[$input] end -set options "󱂵 Open Location" "󰍬 Select Audio Source" "󰕾 Select Audio Sink" +function network_connection + set options (nmcli --terse --mode multiline connection show | grep "NAME:" | string replace "NAME:" "" | string split "\n") + + set input (menu $options) + + notify-send "Connect to network $input" (nmcli connection up $input) +end + +function bluetooth_connection + set dump (bluetoothctl devices | string replace "Device " "" | string split -m 1 " ") + + set ids + set names + + for i in (seq (count $dump)) + if test (math $i % 2) -eq 0 + set -a names $dump[$i] + else + set -a ids $dump[$i] + end + end + + set input (math (menu --index $names) + 1) + + notify-send "Connect to bluetooth device $names[$input]" (bluetoothctl connect $ids[$input] | string collect) +end + +set options "󱂵 Open Location" "󰍬 Select Audio Source" "󰕾 Select Audio Sink" "󰂯 Select Bluetooth" "󰛳 Select Network" set input (menu $options) switch $input @@ -78,4 +105,10 @@ switch $input case $options[3] audio_sink + + case $options[4] + bluetooth_connection + + case $options[5] + network_connection end