From a6dc69939e7a37f562ccb761968777f0b325b31c Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Mon, 11 Mar 2024 01:55:31 -0400 Subject: [PATCH] updated i guess... --- user/.config/doom/config.el | 9 ++-- user/.config/doom/config.org | 16 ++++-- user/.config/fuzzel/fuzzel.ini | 4 +- user/.config/fuzzel/scripts/fuzz_scrot | 30 ++++++------ user/.config/hypr/hypridle.conf | 38 ++++++++++++++ user/.config/hypr/hyprland.conf | 8 ++- user/.config/hypr/keybindings.conf | 26 +++++----- user/.config/hypr/rules.conf | 10 ++-- user/.config/hypr/scripts/idle | 7 --- user/.config/hypr/theme.conf | 2 +- user/.config/mako/config | 5 +- user/.config/musikcube/hotkeys.json | 68 ++++++++++++++++++++++++++ user/.config/vifm/vifmrc | 11 +++-- user/.config/waybar/config | 8 +-- user/.config/waybar/style.css | 18 ++++--- 15 files changed, 191 insertions(+), 69 deletions(-) create mode 100644 user/.config/hypr/hypridle.conf delete mode 100755 user/.config/hypr/scripts/idle create mode 100644 user/.config/musikcube/hotkeys.json diff --git a/user/.config/doom/config.el b/user/.config/doom/config.el index 6dde50392..23df4602b 100644 --- a/user/.config/doom/config.el +++ b/user/.config/doom/config.el @@ -105,9 +105,9 @@ (use-package emojify :hook (after-init . global-emojify-mode)) -(setq doom-font (font-spec :family "mononoki Nerd Font" :size 15) - doom-variable-pitch-font (font-spec :family "mononoki Nerd Font" :size 15) - doom-big-font (font-spec :family "mononoki Nerd Font" :size 20)) +(setq doom-font (font-spec :family "mononoki Nerd Font" :size 18) + doom-variable-pitch-font (font-spec :family "mononoki Nerd Font" :size 18) + doom-big-font (font-spec :family "mononoki Nerd Font" :size 24)) (after! doom-themes (setq doom-themes-enable-bold t doom-themes-enable-italic t)) @@ -298,3 +298,6 @@ (map! :leader :desc "Zap to char" "z" #'zap-to-char :desc "Zap up to char" "Z" #'zap-up-to-char) + +(set-frame-parameter nil 'alpha-background 90) ; For current frame +(add-to-list 'default-frame-alist '(alpha-background . 90)) ; For all new frames henceforth diff --git a/user/.config/doom/config.org b/user/.config/doom/config.org index 399918161..dfbd772e6 100644 --- a/user/.config/doom/config.org +++ b/user/.config/doom/config.org @@ -38,6 +38,7 @@ - [[#splits][SPLITS]] - [[#winner-mode][WINNER MODE]] - [[#zap-to-char][ZAP TO CHAR]] +- [[#transparent][TRANSPARENT]] * ABOUT THIS CONFIG This is my personal Doom Emacs config. Doom Emacs is a distribution of Emacs that uses the "evil" keybindings (Vim keybindings) and includes a number of nice extensions and a bit of configuration out of the box. I am maintaining this config not just for myself, but also for those that want to explore some of what is possible with Emacs. I will add a lot of examples of plugins and settings, some of them I may not even use personally. I do this because many people following me on YouTube look at my configs as "documentation". This config is based on DistroTube's config. @@ -254,9 +255,9 @@ Settings related to fonts within Doom Emacs: + 'font-lock-keyword-face' -- for keywords with special significanclike 'setq' in elisp. #+BEGIN_SRC emacs-lisp -(setq doom-font (font-spec :family "mononoki Nerd Font" :size 15) - doom-variable-pitch-font (font-spec :family "mononoki Nerd Font" :size 15) - doom-big-font (font-spec :family "mononoki Nerd Font" :size 20)) +(setq doom-font (font-spec :family "mononoki Nerd Font" :size 18) + doom-variable-pitch-font (font-spec :family "mononoki Nerd Font" :size 18) + doom-big-font (font-spec :family "mononoki Nerd Font" :size 24)) (after! doom-themes (setq doom-themes-enable-bold t doom-themes-enable-italic t)) @@ -598,3 +599,12 @@ Emacs provides a 'zap-to-char' command that kills from the current point to a ch :desc "Zap to char" "z" #'zap-to-char :desc "Zap up to char" "Z" #'zap-up-to-char) #+END_SRC + + +* TRANSPARENT +Transparent window + +#+BEGIN_SRC emacs-lisp +(set-frame-parameter nil 'alpha-background 90) ; For current frame +(add-to-list 'default-frame-alist '(alpha-background . 90)) ; For all new frames henceforth +#+END_SRC diff --git a/user/.config/fuzzel/fuzzel.ini b/user/.config/fuzzel/fuzzel.ini index a46341159..483d59926 100644 --- a/user/.config/fuzzel/fuzzel.ini +++ b/user/.config/fuzzel/fuzzel.ini @@ -23,8 +23,8 @@ selection-text=ebdbb2ff border=cc241dff [border] -width=2 -radius=0 +width=3 +radius=12 [dmenu] mode=text diff --git a/user/.config/fuzzel/scripts/fuzz_scrot b/user/.config/fuzzel/scripts/fuzz_scrot index 0edce8d8d..8cd097009 100755 --- a/user/.config/fuzzel/scripts/fuzz_scrot +++ b/user/.config/fuzzel/scripts/fuzz_scrot @@ -2,7 +2,7 @@ # ***This script was made by Clay Gomera (Drake)*** # - Description: A simple screenshot menu script for rofi/dmenu/wofi -# - Dependencies: {rofi||dmenu||wofi}, wayshot, slurp, wf-recorder +# - Dependencies: {rofi||dmenu||wofi}, grim, slurp ########################### ## Screenshots Directory ## @@ -74,9 +74,9 @@ fdel() { shot_screen() { fsschos if [ "$sschoice" = "$sscho1" ]; then - sleep 0.5 && wayshot --stdout | wl-copy && notify-send "Screenshot copied to clipboard" + sleep 0.5 && grim - | wl-copy && notify-send "Screenshot copied to clipboard" elif [ "$sschoice" = "$sscho2" ]; then - sleep 0.5 && wayshot -f "$SHOTDIR/$(date +%s).jpg" && notify-send "Screenshot saved to $SHOTDIR" + sleep 0.5 && grim "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR" else exit 0 fi @@ -101,13 +101,13 @@ shot_screen_delay() { fdel; case $del in "$del1") - sleep 3 && wayshot --stdout | wl-copy && notify-send "Screenshot saved to clipboard"; + sleep 3 && grim - | wl-copy && notify-send "Screenshot saved to clipboard"; ;; "$del2") - sleep 5 && wayshot --stdout | wl-copy && notify-send "Screenshot saved to clipboard"; + sleep 5 && grim - | wl-copy && notify-send "Screenshot saved to clipboard"; ;; "$del3") - sleep 10 && wayshot --stdout | wl-copy && notify-send "Screenshot saved to clipboard"; + sleep 10 && grim - | wl-copy && notify-send "Screenshot saved to clipboard"; ;; "$del4") exit 0; @@ -116,13 +116,13 @@ shot_screen_delay() { fdel; case $del in "$del1") - sleep 3 && wayshot -f "$SHOTDIR/$(date +%s)" && notify-send "Screenshot saved to $SHOTDIR"; + sleep 3 && grim "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR"; ;; "$del2") - sleep 5 && wayshot -f "$SHOTDIR/$(date +%s)" && notify-send "Screenshot saved to $SHOTDIR"; + sleep 5 && grim "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR"; ;; "$del3") - sleep 10 && wayshot -f "$SHOTDIR/$(date +%s)" && notify-send "Screenshot saved to $SHOTDIR"; + sleep 10 && grim "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR"; ;; "$del4") exit 0; @@ -147,9 +147,9 @@ shot_screen_delay() { shot_area() { fsschos; if [ "$sschoice" = "$sscho1" ]; then - sleep 0.5 && wayshot -s "$(slurp)" --stdout | wl-copy && notify-send "Screenshot saved to clipboard"; + sleep 0.5 && grim -g "$(slurp)" - | wl-copy && notify-send "Screenshot saved to clipboard"; elif [ "$sschoice" = "$sscho2" ]; then - sleep 0.5 && wayshot -s "$(slurp)" -f "$SHOTDIR/$(date +%s).jpg" && notify-send "Screenshot saved to $SHOTDIR"; + sleep 0.5 && grim -g "$(slurp)" "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR"; else exit 0 fi @@ -167,10 +167,12 @@ shot_area() { ##### shot_window() { fsschos; + local focused=$(hyprctl activewindow -j) + local geom=$(echo "$focused" | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"') if [ "$sschoice" = "$sscho1" ]; then - wayshot -s "$(hyprctl activewindow -j | jq -c -r '.at,.size | .[]' | tr '\n' ' ')" --stdout | wl-copy && notify-send "Screenshot saved to clipboard"; + sleep 0.5 && grim -g "$geom" - | wl-copy && notify-send "Screenshot saved to clipboard"; elif [ "$sschoice" = "$sscho2" ]; then - wayshot -s "$(hyprctl activewindow -j | jq -c -r '.at,.size | .[]' | tr '\n' ' ')" --stdout -f "$SHOTDIR/$(date +%s).jpg" && notify-send "Screenshot saved to $SHOTDIR"; + sleep 0.5 && grim -g "$geom" "$SHOTDIR/$(date +%s).png" && notify-send "Screenshot saved to $SHOTDIR"; else exit 0 fi @@ -178,7 +180,7 @@ shot_window() { # show the help output with --help or -h arguments if [ "$1" == '--help' ] || [ "$1" = '-h' ]; then - echo "rs-scrot" + echo "fuzz_scrot" echo "USAGE: rs-scrot [OPTION]" echo -e "(no option)\tshow the screenshot menu" echo -e "-h, --help\tthis screen" diff --git a/user/.config/hypr/hypridle.conf b/user/.config/hypr/hypridle.conf new file mode 100644 index 000000000..9eec6807a --- /dev/null +++ b/user/.config/hypr/hypridle.conf @@ -0,0 +1,38 @@ +# ┳ ┳┓ ┓ ┏┓ +# ┃ ┃┃ ┃ ┣ +# ┻ ┻┛ ┗┛┗┛ + +general { + lock_cmd = pidof swaylock || $HOME/.config/hypr/scripts/lock # avoid starting multiple hyprlock instances. + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. +} + +listener { + timeout = 150 # 2.5min. + on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. + on-resume = brightnessctl -r # monitor backlight restor. +} + +# turn off keyboard backlight, uncomment this section if have keyboard backlight. +listener { + timeout = 150 # 2.5min. + on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight. + on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight. +} + +listener { + timeout = 300 # 5min + on-timeout = loginctl lock-session # lock screen when timeout has passed +} + +listener { + timeout = 380 # 5.5min + on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. +} + +listener { + timeout = 1800 # 30min + on-timeout = systemctl suspend # suspend pc +} diff --git a/user/.config/hypr/hyprland.conf b/user/.config/hypr/hyprland.conf index 9aa433090..d1df42d86 100644 --- a/user/.config/hypr/hyprland.conf +++ b/user/.config/hypr/hyprland.conf @@ -9,10 +9,10 @@ exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1 exec-once = waybar exec-once = mako -c ~/.config/mako/config exec-once = swww init - exec-once = $HOME/.config/hypr/scripts/xdg-portals exec-once = $HOME/.config/hypr/scripts/clip -exec-once = $HOME/.config/hypr/scripts/idle +exec-once = emacs --daemon +exec-once = hypridle # ┏━╸┏┓╻╻ ╻ # ┣╸ ┃┗┫┃┏┛ @@ -33,14 +33,12 @@ env = MOZ_ENABLE_WAYLAND,1 env = WLR_NO_HARDWARE_CURSORS,1 env = HYPRLAND_NO_SD_NOTIFY=0 env = XKB_DEFAULT_LAYOUT,us +env = ELECTRON_OZONE_PLATFORM_HINT,auto env = TERMINAL,wezterm env = BROWSER,flatpak run org.mozilla.firefox env = VIEWER,zathura env = RUNNER,fuzzel --dmenu env = RUNNER_EX,fuzzel -# env = WLR_DRM_DEVICES,/dev/dri/card1 # Only use iGPU -# env = WLR_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 # iGPU as a primary & NVIDIA as a secondary -# env = WLR_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 # NVIDIA as a primary & iGPU as a secondary # ┏┳┓┏━┓┏┓╻╻╺┳╸┏━┓┏━┓ # ┃┃┃┃ ┃┃┗┫┃ ┃ ┃ ┃┣┳┛ diff --git a/user/.config/hypr/keybindings.conf b/user/.config/hypr/keybindings.conf index 75e91a596..4b9f312c3 100644 --- a/user/.config/hypr/keybindings.conf +++ b/user/.config/hypr/keybindings.conf @@ -83,16 +83,16 @@ bindl=, XF86Display, exec, wdisplays binde = $supMod_$conMod_SHIFT, p, exec, hyprpicker -n -a # launch color picker # run launcher binds -binde = $supMod_SHIFT, d, exec, pkill fuzzel || $RUNNER_EX --show drun # launch desktop run launcher -binde = $supMod_SHIFT, r, exec, pkill fuzzel || $RUNNER_EX --show run # launch command run launcher -binde = $supMod_SHIFT, w, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_wall # launch wallpaper selector -binde = $supMod_SHIFT, i, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_wifi # launch wifi configuration utility -binde = $supMod_SHIFT, e, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_emoji # launch emoji picker -binde = $supMod_SHIFT, c, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_clip # launch clipboard manager -binde = $supMod_SHIFT, s, exec, killall -s SIGINT wf-recorder || pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_scrot # launch screenshot utility -binde = $supMod_SHIFT, q, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_power # launch logout/power menu -binde = $supMod_SHIFT, b, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_blue # launch bluetooth configuration utility -binde = $supMod_SHIFT, m, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_mount # launch drive mounter +binde = $supMod_SHIFT, d, exec, pkill fuzzel || $RUNNER_EX --show drun # launch desktop run launcher +binde = $supMod_SHIFT, r, exec, pkill fuzzel || $RUNNER_EX --show run # launch command run launcher +binde = $supMod_SHIFT, w, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_wall # launch wallpaper selector +binde = $supMod_SHIFT, i, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_wifi # launch wifi configuration utility +binde = $supMod_SHIFT, e, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_emoji # launch emoji picker +binde = $supMod_SHIFT, c, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_clip # launch clipboard manager +binde = $supMod_SHIFT, s, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_scrot # launch screenshot utility +binde = $supMod_SHIFT, q, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_power # launch logout/power menu +binde = $supMod_SHIFT, b, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_blue # launch bluetooth configuration utility +binde = $supMod_SHIFT, m, exec, pkill fuzzel || $HOME/.config/fuzzel/scripts/fuzz_mount # launch drive mounter # apps binds binde = $supMod_$altMod, r, exec, alacritty --class newsboat -e newsboat # launch news feed reader @@ -101,11 +101,11 @@ binde = $supMod_$altMod, m, exec, alacritty --class ytfzf_music -e ytfzf -mlstT binde = $supMod_$altMod, f, exec, alacritty --class flix_cli -e flix-cli # launch torrent movie player binde = $supMod_$altMod, a, exec, alacritty --class ani_cli -e ani-cli # launch anime player binde = $supMod_$altMod, b, exec, alacritty --class btop -e btop # launch resource monitor -binde = $supMod_$conMod, e, exec, alacritty --class editor -e $HOME/.local/bin/lvim # launch text editor -binde = $supMod_$conMod, f, exec, alacritty --class file_manager -e $HOME/.config/vifm/scripts/vifmrun # launch file manager binde = $supMod_$altMod, p, exec, pavucontrol # launch audio mixer +binde = $supMod_$conMod, f, exec, alacritty --class file_manager -e $HOME/.config/vifm/scripts/vifmrun # launch file manager +binde = $supMod_$conMod, e, exec, emacsclient -c -a 'emacs' # launch text editor binde = $supMod_$conMod, w, exec, flatpak run org.mozilla.firefox # launch web browser binde = $supMod_$conMod, c, exec, flatpak run org.signal.Signal # launch chat app binde = $supMod_$conMod, g, exec, flatpak run org.libretro.Retroarch # launch gaming app binde = $supMod_$conMod, p, exec, flatpak run com.bitwarden.desktop # launch password manager -binde = $supMod_$conMod, m, exec, flatpak run org.gnome.Lollypop # launch music player +binde = $supMod_$conMod, m, exec, alacritty --class musikcube -e musikcube # launch music player diff --git a/user/.config/hypr/rules.conf b/user/.config/hypr/rules.conf index b7ff63c6f..c87a3d5ec 100644 --- a/user/.config/hypr/rules.conf +++ b/user/.config/hypr/rules.conf @@ -23,7 +23,7 @@ windowrulev2 = float,class:^(qalculate-gtk)$ windowrule = workspace 1, ^(neovim)$ windowrule = workspace 1, ^(goneovim)$ windowrule = workspace 1, ^(Code)$ -windowrule = workspace 1, ^(emacs)$ +windowrule = workspace 1, ^(Emacs)$ windowrule = workspace 1, ^(neovide)$ windowrule = workspace 1, ^(jetbrains-rider)$ windowrule = workspace 1, ^(jetbrains-datagrip)$ @@ -58,12 +58,13 @@ windowrule = workspace 4, ^(io.github.martinrotter.rssguard)$ # workspace 5 - chatting windowrule = workspace 5, ^(gomuks)$ -windowrule = workspace 5, ^(Signal)$ +windowrule = workspace 5, ^(signal)$ windowrule = workspace 5, ^(revolt-desktop)$ windowrule = workspace 5, ^(Element)$ -# workspace 5 - music & audio +# workspace 6 - music & audio windowrule = workspace 6, ^(lollypop)$ +windowrule = workspace 6, ^(musikcube)$ windowrule = workspace 6, ^(ytfzf_music)$ windowrule = workspace 6, ^(Audacity)$ windowrule = workspace 6, ^(Ardour)$ @@ -78,7 +79,7 @@ windowrule = workspace 6, ^(soundconverter)$ windowrule = workspace 6, ^(kid3-qt)$ windowrule = workspace 6, ^(com.github.wwmm.easyeffects)$ -# workspace 5 - video +# workspace 7 - video windowrule = workspace 7, ^(pitivi)$ windowrule = workspace 7, ^(org.kde.kdenlive)$ windowrule = workspace 7, ^(mpv)$ @@ -108,6 +109,7 @@ windowrule = workspace 9, ^(GeoGebra)$ windowrule = workspace 9, ^(Notesnook)$ windowrule = workspace 9, ^(org.pwmt.zathura)$ windowrule = workspace 9, ^(xournalpp)$ +windowrule = workspace 9, ^(com.github.flxzt.rnote)$ windowrule = workspace 9, ^(Joplin)$ # workspace 5 - games diff --git a/user/.config/hypr/scripts/idle b/user/.config/hypr/scripts/idle deleted file mode 100755 index f6f54a6b0..000000000 --- a/user/.config/hypr/scripts/idle +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -swayidle -w \ - timeout 300 "$HOME/.config/hypr/scripts/lock" \ - timeout 600 "hyprctl dispatch dpms off" \ - resume "hyprctl dispatch dpms on" \ - before-sleep "$HOME/.config/hypr/scripts/lock" diff --git a/user/.config/hypr/theme.conf b/user/.config/hypr/theme.conf index af8858210..de8eee4fb 100644 --- a/user/.config/hypr/theme.conf +++ b/user/.config/hypr/theme.conf @@ -31,7 +31,7 @@ decoration { noise = 0.2 brightness = 0.8 } - rounding = 0 + rounding = 12 drop_shadow = yes shadow_range = 5 shadow_render_power = 3 diff --git a/user/.config/mako/config b/user/.config/mako/config index f9791ff39..904b29dde 100644 --- a/user/.config/mako/config +++ b/user/.config/mako/config @@ -15,7 +15,8 @@ width=450 height=130 margin=10 padding=15 -border-size=2 +border-size=3 +border-radius=12 icons=1 max-icon-size=32 icon-location=left @@ -41,4 +42,4 @@ history=0 text-alignment=center layer=top default-timeout=400 -anchor=top-center +anchor=bottom-left diff --git a/user/.config/musikcube/hotkeys.json b/user/.config/musikcube/hotkeys.json new file mode 100644 index 000000000..914c527c6 --- /dev/null +++ b/user/.config/musikcube/hotkeys.json @@ -0,0 +1,68 @@ +{ + "browse_category_filter": "^F", + "browse_playlists_delete": "KEY_DC", + "browse_playlists_new": "M-n", + "browse_playlists_rename": "M-r", + "browse_playlists_save": "M-s", + "context_menu": "M-enter", + "hotkeys_backup": "M-b", + "hotkeys_reset_to_default": "M-r", + "key_down": "j", + "key_end": "KEY_END", + "key_home": "KEY_HOME", + "key_left": "h", + "key_page_down": "KEY_NPAGE", + "key_page_up": "KEY_PPAGE", + "key_right": "l", + "key_up": "k", + "lyrics_retry": "r", + "metadata_rescan": "^R", + "navigate_console": "`", + "navigate_hotkeys": "?", + "navigate_jump_to_playing": "x", + "navigate_library": "a", + "navigate_library_album_artists": "4", + "navigate_library_browse": "b", + "navigate_library_browse_albums": "2", + "navigate_library_browse_artists": "1", + "navigate_library_browse_directories": "d", + "navigate_library_browse_genres": "3", + "navigate_library_choose_category": "6", + "navigate_library_filter": "f", + "navigate_library_play_queue": "n", + "navigate_library_playlists": "5", + "navigate_library_tracks": "t", + "navigate_lyrics": "^L", + "navigate_settings": "s", + "play_queue_clear": "X", + "play_queue_delete": "KEY_DC", + "play_queue_hot_swap": "M-a", + "play_queue_move_down": "M-down", + "play_queue_move_up": "M-up", + "play_queue_playlist_delete": "M-x", + "play_queue_playlist_load": "M-l", + "play_queue_playlist_rename": "M-r", + "play_queue_playlist_save": "M-s", + "playback_next": "M-l", + "playback_previous": "M-j", + "playback_seek_back": "u", + "playback_seek_back_proportional": "y", + "playback_seek_forward": "o", + "playback_seek_forward_proportional": "p", + "playback_stop": "^X", + "playback_toggle_mute": "m", + "playback_toggle_pause": "^P", + "playback_toggle_repeat": ".", + "playback_toggle_shuffle": ",", + "playback_volume_down": "M-k", + "playback_volume_up": "M-i", + "search_input_toggle_match_type": "M-m", + "show_equalizer": "^E", + "toggle_visualizer": "v", + "track_list_change_sort_order": "M-s", + "track_list_next_group": "]", + "track_list_play_from_top": "M-P", + "track_list_previous_group": "[", + "track_list_rate_track": "r", + "view_refresh": "KEY_F(5)" +} \ No newline at end of file diff --git a/user/.config/vifm/vifmrc b/user/.config/vifm/vifmrc index c32b237b0..81d55b24f 100644 --- a/user/.config/vifm/vifmrc +++ b/user/.config/vifm/vifmrc @@ -13,7 +13,7 @@ " Since emacs is a GUI app and not a terminal app like vim, append the command " with an ampersand (&). -set vicmd=~/.local/bin/lvim +set vicmd=nvim " This makes vifm perform file operations on its own instead of relying on " standard utilities like `cp`. While using `cp` and alike is a more universal @@ -246,10 +246,10 @@ filetype *.[1-8] man ./%c fileviewer *.[1-8] man ./%c | col -b " Images -filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm +filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp \ {View in imv} \ imv %f &, -fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm,*.gif +fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm,*.gif,*.webp \ vifmimg draw %px %py %pw %ph %c \ %pc \ vifmimg clear @@ -296,9 +296,12 @@ filetype *.asc \ !!gpg --verify %c, " Torrent -filetype *.torrent ktorrent %f & +filetype *.torrent qbittorrent %f & fileviewer *.torrent dumptorrent -v %c +" Rnote +filetype *.rnote flatpak run com.github.flxzt.rnote %f & + " FuseZipMount filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg \ {Mount with fuse-zip} diff --git a/user/.config/waybar/config b/user/.config/waybar/config index 2e5fe0a9b..be54e2047 100644 --- a/user/.config/waybar/config +++ b/user/.config/waybar/config @@ -15,11 +15,11 @@ "on-scroll-down": "hyprctl dispatch workspace e-1", "format": "{icon}", "format-icons": { - "1": "\ue7c5", + "1": "\ue632", "2": "\udb82\uddac", - "3": "\uf07c", - "4": "\uf0ac", - "5": "\udb82\udf79", + "3": "\udb81\udf70", + "4": "\udb80\ude39", + "5": "\udb80\udf69", "6": "\udb81\udf5a", "7": "\uf03d", "8": "\udb84\udde3", diff --git a/user/.config/waybar/style.css b/user/.config/waybar/style.css index 2470cd987..b51848704 100644 --- a/user/.config/waybar/style.css +++ b/user/.config/waybar/style.css @@ -1,13 +1,13 @@ * { margin-top: 3px; margin-bottom: 3px; - margin-right: 3px; - margin-left: 3px; } window#waybar { background-color: rgb(29, 32, 33); - border-right: 3px solid #3c3836; + border-right: 5px solid #3c3836; + border-top-right-radius: 18px; + border-bottom-right-radius: 18px; color: #ebdbb2; transition-property: background-color; transition-duration: .5s; @@ -42,22 +42,23 @@ button:hover { #workspaces { font-family: Symbols Nerd Font Mono; font-size: 20px; + margin-right: 5px; + margin-left: 5px; } #workspaces button { padding: 0 3px; background-color: transparent; color: #ebdbb2; - border-radius: 5px; } #workspaces button.active { - color: #8ec07c; + color: #fb4934; border-radius: 5px; } #workspaces button:hover { - color: #fb4934; + color: #8ec07c; border-radius: 5px; } @@ -81,8 +82,11 @@ button:hover { #mode { font-family: Symbols Nerd Font Mono, mononoki Nerd Font; font-size: 16px; - padding: 10 8px; + padding: 13 8px; color: #ebdbb2; + border-radius: 18px; + margin-left: 8px; + margin-right: 14px; } #window,