From 27a3fa66fc8ed473bcd46b4c0a281aef0a584595 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:32:03 -0500 Subject: Use rofi instead of tofi --- hypr/hyprland.conf | 4 ++-- waybar/config | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c0f5806..872467a 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -306,8 +306,8 @@ submap = reset #}}} #{{{ Menu bindings -bind = $mainMod, R, exec, sh -c "$(tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)" -bind = $mainMod, D, exec, sh -c "$(tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)" +bind = $mainMod, R, exec, sh -c "rofi -show drun" +bind = $mainMod, D, exec, sh -c "rofi -show run" bind = $mainMod $secdMod, Q, exec, qbc bind = $mainMod $secdMod, W, exec, lwc bind = $mainMod $secdMod, E, exec, mbc diff --git a/waybar/config b/waybar/config index 2717db9..664a19d 100644 --- a/waybar/config +++ b/waybar/config @@ -145,13 +145,13 @@ }, "custom/launcher":{ "format": "", - "on-click": "exec $(tofi-drun)", - "on-click-right": "killall tofi" + "on-click": "rofi -show drun", + //"on-click-right": "killall rofi" }, "custom/power":{ "format": " ", - "on-click": "nwg-bar", - "on-click-right": "killall nwg-bar" + "on-click": "rofi -show p -modi p:rofi-power-menu", + //"on-click-right": "killall rofi" }, "custom/snip":{ "format": " ", -- cgit v1.2.3 From e38079f75416f317e29aa71a55e567e64465b83c Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:33:10 -0500 Subject: hypridle: set brightness to 1, don't save kbd --- hypr/hypridle.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 4d18296..3a58aea 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -6,14 +6,14 @@ general { listener { timeout = 150 # 2.5min. - on-timeout = brightnessctl set 0 # set monitor backlight to minimum, avoid 0 on OLED monitor. + on-timeout = brightnessctl set 1 # set monitor backlight to minimum, avoid 0 on OLED monitor. on-resume = brightnessctl -r # monitor backlight restore. } # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. listener { timeout = 150 # 2.5min. - on-timeout = brightnessctl -sd led::kbd_backlight set 0 # turn off keyboard backlight. + on-timeout = brightnessctl -d led::kbd_backlight set 0 # turn off keyboard backlight. on-resume = brightnessctl -rd led::kbd_backlight # turn on keyboard backlight. } -- cgit v1.2.3 From 40ce69073fef86ca156cd67f26c0f91dee1e8317 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:33:57 -0500 Subject: Set dark mode in gsettings --- darkman/config.yaml | 3 --- hypr/hyprland.conf | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 darkman/config.yaml diff --git a/darkman/config.yaml b/darkman/config.yaml deleted file mode 100644 index 5cf7ee4..0000000 --- a/darkman/config.yaml +++ /dev/null @@ -1,3 +0,0 @@ -usegeoclue: false -dbusserver: true -portal: true diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 872467a..3046748 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -18,6 +18,7 @@ exec-once = lxqt-policykit-agent exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest-Solid' exec-once = import-gsettings icon-theme 'COSMIC' exec-once = import-gsettings cursor-theme 'BreezeX-Black' +exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources exec-once = com.github.wwmm.easyeffects exec-once = systemctl --user start dunst -- cgit v1.2.3 From 5bcd1ea7ccd231f756861997ba813b1f1cec1eda Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:34:30 -0500 Subject: Remove redundant preload in hyprpaper --- hypr/hyprpaper.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 19b84f2..728c00c 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -13,4 +13,3 @@ wallpaper = DP-2,~/Pictures/background.png #wallpaper = monitor2,~/background.png # .. more monitors splash = false -preload = ~/Pictures/background.png -- cgit v1.2.3 From 0255f6d777a67de3f1f8e643cd6c7d95a12a72c9 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:34:58 -0500 Subject: Use Helvum not QPWGraph --- hypr/pyprland.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index af439ab..a0aa176 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -87,8 +87,8 @@ position = "25% 25%" [scratchpads.qpwgraph] animation = "" -command = "qpwgraph" -class = "org.rncbc.qpwgraph" +command = "helvum" +class = "org.pipewire.Helvum" lazy = true size = "50% 50%" position = "25% 25%" -- cgit v1.2.3 From a9a463e6ab782ab65d49e5aeeaffaffe697cbc9e Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:35:41 -0500 Subject: Use icat kitten to draw lf images --- lf/image | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lf/image b/lf/image index 77ddb5b..622aaf2 100755 --- a/lf/image +++ b/lf/image @@ -7,9 +7,10 @@ main() { > "$FIFO_UEBERZUG" ;; "draw") - declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" \ - [x]="$3" [y]="$4" [max_width]="$5" [max_height]="$6" \ - [path]="$2") > "$FIFO_UEBERZUG" + kitten icat --stdin no --transfer-mode memory --place"${5}x${6}@${3}x${4}" "$1" /dev/tty + #declare -p -A cmd=([action]=add [identifier]="$ID_PREVIEW" \ + #[x]="$3" [y]="$4" [max_width]="$5" [max_height]="$6" \ + #[path]="$2") > "$FIFO_UEBERZUG" ;; "*") echo "Unknown command: '$1', '$2'" ;; esac -- cgit v1.2.3 From 3df97f000e37ecbf6334f512d62c4829cbc4fcfb Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:36:47 -0500 Subject: Add rofi configs --- rofi/config.rasi | 1 + rofi/dmenu.rasi | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 rofi/config.rasi create mode 100644 rofi/dmenu.rasi diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..1de6cb4 --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1 @@ +@theme "dmenu.rasi" diff --git a/rofi/dmenu.rasi b/rofi/dmenu.rasi new file mode 100644 index 0000000..6fd198a --- /dev/null +++ b/rofi/dmenu.rasi @@ -0,0 +1,43 @@ +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + background-color: Black; + border-color: White; + text-color: White; + font: "FiraCode Nerd Font Mono 12"; +} +window { + anchor: north; + location: north; + width: 100%; + padding: 4px; + children: [ horibox ]; +} +horibox { + orientation: vertical; + children: [ prompt, entry, listview ]; +} +listview { + layout: vertical; + spacing: 5px; + lines: 15; +} +entry { + expand: false; + width: 10em; +} +element { + padding: 0px 2px; +} +element selected { + background-color: #198844; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} -- cgit v1.2.3 From 41bf96565f378f328acf75cf7471593f02bcb8af Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:37:39 -0500 Subject: Move .zkbd to config dir --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index c25f285..09a5e32 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -42,7 +42,7 @@ elif [ -f "$HOME"/.zshrc ]; then alias e='source ~/.zshrc' fi -source ~/.zkbd/$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE} +source ~/.config/zsh/.zkbd/$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE} #autoload zkbd; zkbd bindkey -v -- cgit v1.2.3 From e2863dbdbae1e10a82f098c4575ed973249bab7b Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 12 Jul 2025 19:38:07 -0500 Subject: Add firejail configs --- firejail/mpv.profile | 2 ++ firejail/neomutt.profile | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 firejail/mpv.profile create mode 100644 firejail/neomutt.profile diff --git a/firejail/mpv.profile b/firejail/mpv.profile new file mode 100644 index 0000000..8ac7ccc --- /dev/null +++ b/firejail/mpv.profile @@ -0,0 +1,2 @@ +whitelist ~/.cache +include /etc/firejail/mpv.profile diff --git a/firejail/neomutt.profile b/firejail/neomutt.profile new file mode 100644 index 0000000..b8fa362 --- /dev/null +++ b/firejail/neomutt.profile @@ -0,0 +1,2 @@ +whitelist /usr/share/mutt-wizard +include /etc/firejail/mpv.profile -- cgit v1.2.3 From b66538e421e6025d8d8314b28b5c27e315c4f9d7 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 13 Jul 2025 13:27:41 -0500 Subject: Replace Fira Code with Mononoki --- X11/xresources | 4 ++-- kitty/kitty.conf | 2 +- rofi/dmenu.rasi | 2 +- tofi/cosmic | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/X11/xresources b/X11/xresources index 7115b96..3ec8036 100644 --- a/X11/xresources +++ b/X11/xresources @@ -30,7 +30,7 @@ st.termname: st-256color st.shell: /usr/bin/tmux ! The following options options can be reloaded via USR1 signal. -!st.font: Fira Code Nerd Font Mono: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 @@ -76,7 +76,7 @@ URxvt.secondaryScreen: 1 URxvt.secondaryScroll: 0 URxvt.secondaryWheel: 1 ! URxvt font -URxvt.font: xft:Fira Code:regular:size=8,xft:symbola:regular:size=9 +URxvt.font: xft:mononoki:regular:size=8,xft:symbola:regular:size=9 ! fix font spacing URxvt.letterSpace: -1 ! Disable printing diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 59a7f5e..f5f4379 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -6,7 +6,7 @@ #: individual font faces and even specify special fonts for particular #: characters. -font_family FiraCode Nerd Font Mono +font_family mononoki Nerd Font Mono bold_font auto italic_font auto bold_italic_font auto diff --git a/rofi/dmenu.rasi b/rofi/dmenu.rasi index 6fd198a..f969148 100644 --- a/rofi/dmenu.rasi +++ b/rofi/dmenu.rasi @@ -8,7 +8,7 @@ background-color: Black; border-color: White; text-color: White; - font: "FiraCode Nerd Font Mono 12"; + font: "mononoki Nerd Font Mono 12"; } window { anchor: north; diff --git a/tofi/cosmic b/tofi/cosmic index 9a5b4be..ce97f70 100644 --- a/tofi/cosmic +++ b/tofi/cosmic @@ -7,7 +7,7 @@ height = 32 horizontal = true font-size = 18 prompt-text = "" -font = Fira Code Nerd Font Mono +font = mononoki Nerd Font Mono outline-width = 0 border-width = 0 min-input-width = 424 -- cgit v1.2.3