diff options
-rwxr-xr-x | autostart.sh | 1 | ||||
-rw-r--r-- | darkman/config.yaml | 3 | ||||
-rw-r--r-- | firejail/mpv.profile | 2 | ||||
-rw-r--r-- | firejail/neomutt.profile | 2 | ||||
-rw-r--r-- | hypr/hypridle.conf | 4 | ||||
-rw-r--r-- | hypr/hyprland.conf | 48 | ||||
-rw-r--r-- | hypr/hyprpaper.conf | 1 | ||||
-rw-r--r-- | hypr/pyprland.toml | 4 | ||||
-rw-r--r-- | kitty/kitty.conf | 2 | ||||
-rwxr-xr-x | lf/image | 7 | ||||
-rwxr-xr-x | nsxiv/exec/key-handler | 2 | ||||
-rw-r--r-- | rofi/config.rasi | 1 | ||||
-rw-r--r-- | rofi/dmenu.rasi | 43 | ||||
-rw-r--r-- | waybar/config | 19 | ||||
-rw-r--r-- | zsh/zshrc | 2 |
15 files changed, 108 insertions, 33 deletions
diff --git a/autostart.sh b/autostart.sh index 42eb092..7124a5e 100755 --- a/autostart.sh +++ b/autostart.sh @@ -18,6 +18,7 @@ killandrun () { } if [ -n "${WAYLAND_DISPLAY}${DISPLAY}" ]; then + dinit & notify-sound.sh off & runifnot swayidle killandrun hyprpaper 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/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 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. } diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c0f5806..267d8c9 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -8,9 +8,10 @@ monitor = , preferred, auto, 1 #{{{ Autostart # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox +exec-once = dinit exec-once = xdph exec-once = hyprpm reload -n -exec-once = hyprpaper +#exec-once = hyprpaper #exec-once = hypridle exec-once = waybar exec-once = pypr @@ -18,10 +19,11 @@ 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 -exec-once = systemctl --user start hypridle +#exec-once = com.github.wwmm.easyeffects +#exec-once = dunst +#exec-once = hypridle #exec-once = mpd #}}} @@ -195,6 +197,34 @@ plugin { # Example windowrule v2 # windowrule = float, class:^(kitty)$, title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +windowrule = fullscreen, class:^(Xephyr)$ +windowrule = float, title:^(LibreWolf - Choose User Profile)$ +windowrule = float, class:^(xdg-desktop-portal-gtk) +windowrule = float, title:^(UNDERTALE)$ +windowrule = float, class:^(Tk)$ +windowrule = float, class:^(lxqt-policykit-agent)$ +windowrulev2 = stayfocused, title:^()$, class:^(steam)$ +windowrulev2 = minsize 1 1, title:^()$, class:^(steam)$ +windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$ +windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$ +windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$ +windowrulev2 = float, floating:0, title:^(menu*) +windowrule = workspace 2, title:^(REAPER .*initializing.*)$ +windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$ +windowrule = tile, class:^(WebApp-Qobuz[0-9]*)$ +windowrulev2 = float, title:^(menu)$ +windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$ +#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Metronome and pre-roll settings)$ +#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$ +#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$ +#windowrulev2 = float, floating:0, title:^(menu)$ +#windowrulev2 = forceinput, title:^(menu)$ #}}} #{{{ Mods @@ -306,8 +336,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 @@ -440,9 +470,7 @@ bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioMute, exec, volsv -t #bindl = , XF86AudioMicMute, exec, volsv -m bind = , XF86AudioMicMute, exec, volsv -m -bindel = , XF86MonBrightnessUp, exec, bl -i -bindel = , XF86MonBrightnessDown, exec, bl -d -bindl = $mainMod, XF86MonBrightnessUp, exec, bl -I 1 -bindl = $mainMod, XF86MonBrightnessDown, exec, bl -D 1 +bindel = , XF86MonBrightnessUp, exec, hypr-brightness + +bindel = , XF86MonBrightnessDown, exec, hypr-brightness - bind = , Print, exec, scrshot #}}} 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 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%" diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 59a7f5e..b833ace 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -24,7 +24,7 @@ bold_italic_font auto #: italic_font Operator Mono Book Italic #: bold_italic_font Operator Mono Medium Italic -font_size 11.0 +font_size 12.0 #: Font size (in pts) @@ -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 diff --git a/nsxiv/exec/key-handler b/nsxiv/exec/key-handler index 53099e4..e653dd6 100755 --- a/nsxiv/exec/key-handler +++ b/nsxiv/exec/key-handler @@ -10,7 +10,7 @@ while read file; do magick "$file" ~/Pictures/background.png ;; esac - t -r hyprpaper + dinitctl restart hyprpaper ;; esac done 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; +} diff --git a/waybar/config b/waybar/config index 2717db9..a027899 100644 --- a/waybar/config +++ b/waybar/config @@ -11,7 +11,7 @@ "modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"], "modules-center":[], - "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"], + "modules-right":[ "tray", "mpd", "idle_inhibitor", "wireplumber", "cpu", "memory", "battery", "temperature#cpu", "temperature#gpu", "backlight", "network", "clock", "custom/power"], // Modules configuration @@ -60,9 +60,9 @@ } }, "mpd": { - "format": "{artist} - {title}", + "format": "{title}", "format-stopped": "", - "format-paused": "{artist} - {title}", + "format-paused": "{title}", "format-disconnected": "", "artist-len": 15, "title-len": 15, @@ -94,7 +94,8 @@ "format": "{}% " }, "battery": { - "bat": "BAT0", + //"bat": "BAT0", + "weighted-average": "true", "interval": 60, "state": { "warning": 30, @@ -126,7 +127,7 @@ }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) ", + "format-wifi": "{essid} ", "format-ethernet": "Connected ", "tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", @@ -145,13 +146,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": " ", @@ -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 |