summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--darkman/config.yaml3
-rw-r--r--firejail/mpv.profile2
-rw-r--r--firejail/neomutt.profile2
-rw-r--r--hypr/hypridle.conf4
-rw-r--r--hypr/hyprland.conf5
-rw-r--r--hypr/hyprpaper.conf1
-rw-r--r--hypr/pyprland.toml4
-rwxr-xr-xlf/image7
-rwxr-xr-xnsxiv/exec/key-handler2
-rw-r--r--rofi/config.rasi1
-rw-r--r--rofi/dmenu.rasi43
-rw-r--r--waybar/config8
-rw-r--r--zsh/zshrc4
13 files changed, 67 insertions, 19 deletions
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 cdcca3d..267d8c9 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -19,6 +19,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 = dunst
@@ -335,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
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/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
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 49cc19c..a027899 100644
--- a/waybar/config
+++ b/waybar/config
@@ -146,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": " ",
diff --git a/zsh/zshrc b/zsh/zshrc
index f8fdac5..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
@@ -91,4 +91,6 @@ fi
autoload -Uz compinit
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
+zstyle ':completion:*' hosts off
+
#zprof