aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-08-14 05:46:25 +0300
committerawy <awy@awy.one>2025-08-14 05:46:25 +0300
commit222fe9a9ffc5430ea28173f01482f30b26f22648 (patch)
treed11094fe10c854cd23dfa5f49850e1facfefe116
parent9e12eb5b61daa6fc864301893bc6242614777d76 (diff)
downloadhyprdots-222fe9a9ffc5430ea28173f01482f30b26f22648.tar.gz
update
-rw-r--r--.config/btop/btop.conf68
-rw-r--r--.config/foot/foot.ini38
-rw-r--r--.config/hypr/hyprland.conf25
-rw-r--r--.config/kitty/kitty.conf94
-rw-r--r--.config/mako/config2
-rw-r--r--.config/rofi/config.rasi156
-rw-r--r--.config/rofi/gruvbox.rasi55
-rw-r--r--.config/shell/profile4
-rwxr-xr-x.config/swayimg/key-handler8
-rwxr-xr-x.local/bin/bookmarks2
-rwxr-xr-x.local/bin/dmenuhandler6
-rwxr-xr-x.local/bin/dmenumountcifs6
-rwxr-xr-x.local/bin/dmenupass2
-rwxr-xr-x.local/bin/dmenurecord8
-rwxr-xr-x.local/bin/dmenuunicode4
-rwxr-xr-x.local/bin/doas_askpass2
-rwxr-xr-x.local/bin/maimpick2
-rwxr-xr-x.local/bin/mounter12
-rwxr-xr-x.local/bin/rssget4
-rwxr-xr-x.local/bin/singboxwrap6
-rwxr-xr-x.local/bin/statusbar/sb-doppler2
-rwxr-xr-x.local/bin/statusbar/sb-kbselect4
-rwxr-xr-x.local/bin/sysact4
-rwxr-xr-x.local/bin/td-toggle6
-rwxr-xr-x.local/bin/unmounter2
-rw-r--r--.local/share/applications/file.desktop2
-rw-r--r--.local/share/applications/mail.desktop2
-rw-r--r--.local/share/applications/text.desktop2
-rw-r--r--dependencies.txt4
29 files changed, 165 insertions, 367 deletions
diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf
index f54e85d..f613f1b 100644
--- a/.config/btop/btop.conf
+++ b/.config/btop/btop.conf
@@ -1,6 +1,70 @@
-color_theme = "/usr/share/btop/themes/gruvbox_dark.theme"
+color_theme = "/usr/share/btop/themes/everforest-dark-medium.theme"
theme_background = False
+presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
vim_keys = True
rounded_corners = False
-shown_boxes = "cpu net proc mem gpu0"
+graph_symbol = "braille"
+graph_symbol_cpu = "braille"
+graph_symbol_gpu = "default"
+graph_symbol_mem = "default"
+graph_symbol_net = "default"
+graph_symbol_proc = "default"
+shown_boxes = "mem net proc cpu"
+update_ms = 2000
proc_sorting = "memory"
+proc_reversed = False
+proc_tree = False
+proc_colors = True
+proc_gradient = True
+proc_per_core = False
+proc_mem_bytes = True
+proc_cpu_graphs = True
+proc_info_smaps = False
+proc_left = False
+proc_filter_kernel = False
+proc_aggregate = False
+cpu_graph_upper = "Auto"
+cpu_graph_lower = "Auto"
+show_gpu_info = "Auto"
+cpu_invert_lower = True
+cpu_single_graph = True
+cpu_bottom = False
+show_uptime = True
+check_temp = True
+cpu_sensor = "Auto"
+show_coretemp = True
+cpu_core_map = ""
+temp_scale = "celsius"
+base_10_sizes = False
+show_cpu_freq = True
+clock_format = "%X"
+background_update = True
+custom_cpu_name = ""
+disks_filter = ""
+mem_graphs = False
+mem_below_net = False
+zfs_arc_cached = True
+show_swap = True
+swap_disk = True
+show_disks = True
+only_physical = True
+use_fstab = True
+zfs_hide_datasets = False
+disk_free_priv = False
+show_io_stat = True
+io_mode = False
+io_graph_combined = False
+io_graph_speeds = ""
+net_download = 100
+net_upload = 100
+net_auto = True
+net_sync = True
+net_iface = ""
+base_10_bitrate = "Auto"
+show_battery = True
+selected_battery = "Auto"
+show_battery_watts = True
+log_level = "WARNING"
+nvml_measure_pcie_speeds = True
+rsmi_measure_pcie_speeds = True
+gpu_mirror_graph = False
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini
new file mode 100644
index 0000000..a9a9f46
--- /dev/null
+++ b/.config/foot/foot.ini
@@ -0,0 +1,38 @@
+font=monospace:size=14
+font-size-adjustment=3
+
+[cursor]
+# style=beam
+
+[colors]
+# alpha = 0.8
+foreground=d3c6aa
+background=2b3339
+
+regular0=374247
+bright0=404c51
+regular1=e67e80
+bright1=e67e80
+regular2=a7c080
+bright2=a7c080
+regular3=dbbc7f
+bright3=dbbc7f
+regular4=7fbbb3
+bright4=7fbbb3
+regular5=d699b6
+bright5=d699b6
+regular6=83c092
+bright6=83c092
+regular7=859289
+bright7=9da9a0
+
+[key-bindings]
+clipboard-copy=Mod1+c
+clipboard-paste=Mod1+v
+scrollback-up-line=Mod1+k
+scrollback-down-line=Mod1+j
+font-increase=Mod1+Shift+k
+font-decrease=Mod1+Shift+j
+font-reset=Mod1+0
+show-urls-launch=Mod1+l
+show-urls-copy=Mod1+y
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 066cc0a..8f092bb 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -2,17 +2,18 @@
monitor = DP-3, 3840x2160@165, 0x0, 1.5
monitor = DP-2, 2560x1440@165, -2560x0, 1
-$terminal = kitty
-$menu = rofi -show drun
+$terminal = footclient
+$menu = mew-run
exec-once = dbus-update-activation-environment --all
+exec-once = foot --server
exec-once = start-pipewire
exec-once = mpd
exec-once = waybar
exec-once = mako
exec-once = swayidle
exec-once = singboxwrap
-exec-once = sleep 0.1 && randombg
+# exec-once = sleep 0.1 && randombg
exec-once = gpg-agent --daemon
exec-once = gnome-keyring-daemon --start --components=secrets
@@ -32,12 +33,12 @@ env = GTK_THEME,Everforest-Purple-Dark
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
general {
- gaps_in = 5
- gaps_out = 10
+ gaps_in = 0
+ gaps_out = 0
- border_size = 3
- col.active_border = rgba(83a598ff)
- col.inactive_border = rgba(595959aa)
+ border_size = 2
+ col.active_border = rgb(83a598)
+ col.inactive_border = rgb(595959)
resize_on_border = false
@@ -47,7 +48,7 @@ general {
}
decoration {
- rounding = 10
+ rounding = 0
rounding_power = 2
active_opacity = 1.0
inactive_opacity = 1.0
@@ -57,7 +58,7 @@ decoration {
}
blur {
- enabled = true
+ enabled = false
size = 3
passes = 1
@@ -66,7 +67,7 @@ decoration {
}
animations {
- enabled = true
+ enabled = false
bezier = easeOutQuint,0.23,1,0.32,1
bezier = easeInOutCubic,0.65,0.05,0.36,1
bezier = linear,0,0,1,1
@@ -104,7 +105,7 @@ misc {
force_default_wallpaper = 0
disable_hyprland_logo = true
enable_swallow = 1
- swallow_regex = ^(kitty)$
+ swallow_regex = ^(footclient)$
}
experimental {
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf
deleted file mode 100644
index 61ca426..0000000
--- a/.config/kitty/kitty.conf
+++ /dev/null
@@ -1,94 +0,0 @@
-# SETTINGS
-font_size 14
-background_opacity 0.9
-confirm_os_window_close 0
-window_padding_width 5
-cursor_blink_interval 0
-
-bold_font auto
-italic_font auto
-bold_italic_font auto
-
-map alt+c copy_to_clipboard
-map alt+v paste_from_clipboard
-
-map alt+k scroll_line_up
-map alt+j scroll_line_down
-
-map alt+shift+k increase_font_size
-map alt+shift+j decrease_font_size
-map alt+0 change_font_size all 0
-
-map alt+l open_url_with_hints
-
-# vim:ft=kitty
-
-## name: Everforest Dark Hard
-## author: Emil Löfquist (https://github.com/ewal)
-## license: MIT
-## upstream: https://github.com/ewal/kitty-everforest/blob/master/themes/everforest_dark_hard.conf
-## blurb: Dark (hard) theme based on https://github.com/sainnhe/everforest for Vim.
-
-foreground #d3c6aa
-background #2b3339
-selection_foreground #9da9a0
-selection_background #503946
-
-cursor #d3c6aa
-cursor_text_color #323c41
-
-url_color #7fbbb3
-
-active_border_color #a7c080
-inactive_border_color #53605c
-bell_border_color #e69875
-visual_bell_color none
-
-wayland_titlebar_color system
-macos_titlebar_color system
-
-active_tab_background #2b3339
-active_tab_foreground #d3c6aa
-inactive_tab_background #3a454a
-inactive_tab_foreground #9da9a0
-tab_bar_background #323c41
-tab_bar_margin_color none
-
-mark1_foreground #2b3339
-mark1_background #7fbbb3
-mark2_foreground #2b3339
-mark2_background #d3c6aa
-mark3_foreground #2b3339
-mark3_background #d699b6
-
-#: black
-color0 #374247
-color8 #404c51
-
-#: red
-color1 #e67e80
-color9 #e67e80
-
-#: green
-color2 #a7c080
-color10 #a7c080
-
-#: yellow
-color3 #dbbc7f
-color11 #dbbc7f
-
-#: blue
-color4 #7fbbb3
-color12 #7fbbb3
-
-#: magenta
-color5 #d699b6
-color13 #d699b6
-
-#: cyan
-color6 #83c092
-color14 #83c092
-
-#: white
-color7 #859289
-color15 #9da9a0
diff --git a/.config/mako/config b/.config/mako/config
index 3fc8de0..409afa9 100644
--- a/.config/mako/config
+++ b/.config/mako/config
@@ -6,7 +6,7 @@ max-history=10
sort=-time
on-button-left=invoke-default-action
-on-button-middle=exec makoctl menu -n $id -- rofi -dmenu -p 'Select action: '
+on-button-middle=exec makoctl menu -n $id -- mew -p 'Select action: '
on-button-right=dismiss
max-visible=10
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
deleted file mode 100644
index b9deba7..0000000
--- a/.config/rofi/config.rasi
+++ /dev/null
@@ -1,156 +0,0 @@
-@theme "gruvbox"
-
-configuration {
- modi: "drun,run";
- font: "JetBrainsMono Nerd Font bold 20px";
- show-icons: false;
- terminal: "kitty";
- drun-display-format: "{name}";
- location: 0;
- disable-history: false;
- sidebar-mode: true;
- display-drun: "Apps";
- display-run: "Command";
- display-window: "Window";
-}
-
-window {
- background-color: @background;
- border: 6;
- border-radius: 14px;
- padding: 4;
- fullscreen: false;
- width: 750;
- height: 520;
-}
-
-mainbox {
- border: 0;
- padding: 0;
-}
-
-message {
- border: 0 0 0;
- border-color: @separatorcolor;
- padding: 1px;
-}
-
-textbox {
- highlight: @highlight;
- text-color: @foreground;
-}
-
-listview {
- border: 0 0 0;
- padding: 10px -5px 10px 5px;
- border-color: @separatorcolor;
- spacing: 10px;
- scrollbar: @scrollbar;
-}
-
-element {
- padding: 5px 10px;
- border-radius: 5px;
- margin: 0 5px 0 5px;
-}
-
-element.normal.normal {
- background-color: @normal-background;
- text-color: @normal-foreground;
-}
-
-element.normal.urgent {
- background-color: @urgent-background;
- text-color: @urgent-foreground;
-}
-
-element.normal.active {
- background-color: @active-background;
- text-color: @active-foreground;
-}
-
-element.selected.normal {
- background-color: @selected-normal-background;
- text-color: @selected-normal-foreground;
-}
-
-element.selected.urgent {
- background-color: @selected-urgent-background;
- text-color: @selected-urgent-foreground;
-}
-
-element.selected.active {
- background-color: @selected-active-background;
- text-color: @selected-active-foreground;
-}
-
-element.alternate.normal {
- background-color: @alternate-normal-background;
- text-color: @alternate-normal-foreground;
-}
-
-element.alternate.urgent {
- background-color: @alternate-urgent-background;
- text-color: @alternate-urgent-foreground;
-}
-
-element.alternate.active {
- background-color: @alternate-active-background;
- text-color: @alternate-active-foreground;
-}
-
-scrollbar {
- enabled: false;
- width: 0;
- border: 0;
- handle-color: @scrollbar-handle;
- handle-width: 0;
- padding: 0;
- margin: 0;
-}
-
-mode-switcher {
- border: 0 0 0;
- border-color: @separatorcolor;
- margin: 5px;
-}
-
-inputbar {
- spacing: 0;
- text-color: @normal-foreground;
- padding: 2px;
- children: [ prompt, entry, case-indicator ];
-}
-
-case-indicator,
-entry,
-prompt,
-button {
- spacing: 5px;
- text-color: @normal-foreground;
- border-radius: 5px;
- padding: 10px 20px;
- margin: 0px;
-}
-
-prompt {
- background-color: @prompt-background;
- text-color: @prompt-foreground;
- border-radius: 5px;
-}
-
-button.selected {
- background-color: @selected-normal-background;
- text-color: @selected-normal-foreground;
-}
-
-textbox-prompt-sep {
- expand: false;
- str: ">>";
- text-color: @normal-foreground;
- margin: 10px 0 0 0;
-}
-element-text, element-icon {
- background-color: inherit;
- text-color: inherit;
-}
diff --git a/.config/rofi/gruvbox.rasi b/.config/rofi/gruvbox.rasi
deleted file mode 100644
index b2d538b..0000000
--- a/.config/rofi/gruvbox.rasi
+++ /dev/null
@@ -1,55 +0,0 @@
-* {
- highlight: bold italic;
- scrollbar: true;
-
- /* gruv = Gruvbox Dark */
- gruv-bg-dim: #282828;
- gruv-bg0: #3c3836;
- gruv-bg1: #504945;
- gruv-bg2: #665c54;
- gruv-bg3: #7c6f64;
- gruv-bg4: #928374;
- gruv-bg5: #a89984;
- gruv-red: #fb4934;
- gruv-orange: #fe8019;
- gruv-yellow: #fabd2f;
- gruv-green: #b8bb26;
- gruv-blue: #83a598;
- gruv-aqua: #8ec07c;
- gruv-purple: #d3869b;
- gruv-fg: #ebdbb2;
- gruv-gray0: #665c54;
- gruv-gray1: #7c6f64;
- gruv-gray2: #928374;
-
- background: @gruv-bg-dim;
- background-color: @background;
- foreground: @gruv-fg;
- border-color: @gruv-blue;
- separatorcolor: @border-color;
- scrollbar-handle: @border-color;
-
- normal-background: @gruv-bg0;
- normal-foreground: @foreground;
- alternate-normal-background: @gruv-bg1;
- alternate-normal-foreground: @foreground;
- selected-normal-background: @gruv-blue;
- selected-normal-foreground: @background;
-
- active-background: @gruv-blue;
- active-foreground: @background;
- alternate-active-background: @active-background;
- alternate-active-foreground: @active-foreground;
- selected-active-background: @active-background;
- selected-active-foreground: @active-foreground;
-
- urgent-background: @gruv-red;
- urgent-foreground: @background;
- alternate-urgent-background: @urgent-background;
- alternate-urgent-foreground: @urgent-foreground;
- selected-urgent-background: @urgent-background;
- selected-urgent-foreground: @urgent-foreground;
-
- prompt-background: @gruv-blue;
- prompt-foreground: @background;
-}
diff --git a/.config/shell/profile b/.config/shell/profile
index b72491c..ee4854f 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -11,8 +11,8 @@ unsetopt PROMPT_SP 2>/dev/null
# Default programs:
export EDITOR="nvim"
export MANPAGER='nvim +Man!'
-export TERMINAL="kitty"
-export TERMINAL_PROG="kitty"
+export TERMINAL="footclient"
+export TERMINAL_PROG="footclient"
export BROWSER="icecat"
unset SSH_AGENT_PID
diff --git a/.config/swayimg/key-handler b/.config/swayimg/key-handler
index 4e886b2..67943a9 100755
--- a/.config/swayimg/key-handler
+++ b/.config/swayimg/key-handler
@@ -1,17 +1,17 @@
#!/bin/sh
file=$1
[ -z "$selection" ] && selection=$(printf "w - Set as wallpaper\nc - Copy to dir\nm - Move to dir\nr - Rotate 90°\nR - Rotate -90°\nf - Flip horizontal\ny - Copy filename to clipboard\nY - Copy full path to clipboard\nd - Delete\ng - Open in GIMP\ni - Show media info" |
- rofi -dmenu -i -l 12 -p "Choose action for selected files:")
+ mew -i -l 12 -p "Choose action for selected files:")
action=$(printf "%s" "$selection" | cut -d'-' -f1 | tr -d ' ')
case "$action" in
"w") setbg "$file" & ;;
"c")
- [ -z "$destdir" ] && destdir="$(sed "s/#.*$//;/^\s*$/d" ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | awk '{print $2}' | rofi -dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
+ [ -z "$destdir" ] && destdir="$(sed "s/#.*$//;/^\s*$/d" ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | awk '{print $2}' | mew -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
[ ! -d "$destdir" ] && notify-send "$destdir is not a directory, cancelled." && exit
cp "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file copied to $destdir." &
;;
"m")
- [ -z "$destdir" ] && destdir="$(sed "s/#.*$//;/^\s*$/d" ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | awk '{print $2}' | rofi -dmenu -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
+ [ -z "$destdir" ] && destdir="$(sed "s/#.*$//;/^\s*$/d" ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | awk '{print $2}' | mew -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
[ ! -d "$destdir" ] && notify-send "$destdir is not a directory, cancelled." && exit
mv "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file moved to $destdir." &
;;
@@ -28,7 +28,7 @@ file=$1
readlink -f "$file" | tr -d '\n' | wl-copy &&
notify-send "$(readlink -f "$file") copied to clipboard" & ;;
"d")
- [ "$(printf "No\\nYes" | rofi -dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
+ [ "$(printf "No\\nYes" | mew -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
"g") ifinstalled gimp && setsid -f gimp "$file" ;;
"i") notify-send "File information" "$(mediainfo "$file" | sed "s/[ ]\+:/:/g;s/: /: <b>/;s/$/<\/b>/" | rg "<b>")" ;;
*) notify-send "No keybind for that key" ;;
diff --git a/.local/bin/bookmarks b/.local/bin/bookmarks
index 45971f3..a04a403 100755
--- a/.local/bin/bookmarks
+++ b/.local/bin/bookmarks
@@ -8,7 +8,7 @@ CLIPBOARD() {
}
DMENU() {
- rofi -dmenu -i -l "${1}" -p "${2}"
+ mew -i -l "${1}" -p "${2}"
}
error_notify() {
diff --git a/.local/bin/dmenuhandler b/.local/bin/dmenuhandler
index d2c6f83..875bbc2 100755
--- a/.local/bin/dmenuhandler
+++ b/.local/bin/dmenuhandler
@@ -1,10 +1,10 @@
#!/bin/sh
-# Feed this script a link and it will give rofi -dmenu
+# Feed this script a link and it will give mew
# some choice programs to use to open it.
-feed="${1:-$(true | rofi -dmenu -p 'Paste URL or file path')}"
+feed="${1:-$(true | mew -p 'Paste URL or file path')}"
-case "$(printf "copy url\\nswayimg\\nsetbg\\nPDF\\nbrowser\\nlynx\\nvim\\nmpv\\nmpv loop\\nmpv float\\nqueue download\\nqueue yt-dlp\\nqueue yt-dlp audio" | rofi -dmenu -i -p "Open it with?")" in
+case "$(printf "copy url\\nswayimg\\nsetbg\\nPDF\\nbrowser\\nlynx\\nvim\\nmpv\\nmpv loop\\nmpv float\\nqueue download\\nqueue yt-dlp\\nqueue yt-dlp audio" | mew -i -p "Open it with?")" in
"copy url") echo "$feed" | wl-copy ;;
mpv) setsid -f mpv -quiet "$feed" >/dev/null 2>&1 ;;
"mpv loop") setsid -f mpv -quiet --loop "$feed" >/dev/null 2>&1 ;;
diff --git a/.local/bin/dmenumountcifs b/.local/bin/dmenumountcifs
index 4b0590b..4832213 100755
--- a/.local/bin/dmenumountcifs
+++ b/.local/bin/dmenumountcifs
@@ -1,12 +1,12 @@
#!/bin/sh
-# Gives a rofi -dmenu prompt to mount unmounted local NAS shares for read/write.
+# Gives a mew prompt to mount unmounted local NAS shares for read/write.
# Requirements - "%wheel ALL=(ALL) NOPASSWD: ALL"
#
# Browse for mDNS/DNS-SD services using the Avahi daemon...
-srvname=$(avahi-browse _smb._tcp -t | awk '{print $4}' | rofi -dmenu -i -p "Which NAS?") || exit 1
+srvname=$(avahi-browse _smb._tcp -t | awk '{print $4}' | mew -i -p "Which NAS?") || exit 1
notify-send "Searching for network shares..." "Please wait..."
# Choose share disk...
-share=$(smbclient -L "$srvname" -N | rg Disk | awk '{print $1}' | rofi -dmenu -i -p "Mount which share?") || exit 1
+share=$(smbclient -L "$srvname" -N | rg Disk | awk '{print $1}' | mew -i -p "Mount which share?") || exit 1
# Format URL...
share2mnt=//"$srvname".local/"$share"
diff --git a/.local/bin/dmenupass b/.local/bin/dmenupass
index b29b536..bea2ad9 100755
--- a/.local/bin/dmenupass
+++ b/.local/bin/dmenupass
@@ -3,4 +3,4 @@
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
-rofi -dmenu -P -p "password:" <&-
+mew -P -p "password:" <&-
diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord
index 6d6af9c..6f51f5f 100755
--- a/.local/bin/dmenurecord
+++ b/.local/bin/dmenurecord
@@ -1,7 +1,7 @@
#!/bin/sh
# Usage:
-# `$0`: Ask for recording type via rofi -dmenu
+# `$0`: Ask for recording type via mew
# `$0 screencast`: Record both audio and screen
# `$0 video`: Record only screen
# `$0 audio`: Record only audio
@@ -11,7 +11,7 @@
getdim() {
screens=$(hyprctl monitors | grep Monitor | cut -d' ' -f2)
- choice=$(printf "$screens\nExit\n" | rofi -dmenu)
+ choice=$(printf "$screens\nExit\n" | mew)
[ "${choice}" != "Exit" ] || [ -z "${choice}" ] || exit &&
echo $choice
}
@@ -77,7 +77,7 @@ audio() { \
}
askrecording() { \
- choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | rofi -dmenu -i -p "Select recording style:")
+ choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | mew -i -p "Select recording style:")
case "$choice" in
screencast) screencast;;
audio) audio;;
@@ -89,7 +89,7 @@ askrecording() { \
}
asktoend() { \
- response=$(printf "No\\nYes" | rofi -dmenu -i -p "Recording still active. End recording?") &&
+ response=$(printf "No\\nYes" | mew -i -p "Recording still active. End recording?") &&
[ "$response" = "Yes" ] && killrecording
}
diff --git a/.local/bin/dmenuunicode b/.local/bin/dmenuunicode
index bfb190d..0289dc6 100755
--- a/.local/bin/dmenuunicode
+++ b/.local/bin/dmenuunicode
@@ -2,8 +2,8 @@
# The famous "get a menu of emojis to copy" script.
-# Get user selection via rofi -dmenu from emoji file.
-chosen=$(cut -d ';' -f1 ~/.local/share/extras/chars/* | rofi -dmenu -i -l 30 | sed "s/ .*//")
+# Get user selection via mew from emoji file.
+chosen=$(cut -d ';' -f1 ~/.local/share/extras/chars/* | mew -i -l 30 | sed "s/ .*//")
# Exit if none chosen.
[ -z "$chosen" ] && exit
diff --git a/.local/bin/doas_askpass b/.local/bin/doas_askpass
index 49a56ef..f5d61ef 100755
--- a/.local/bin/doas_askpass
+++ b/.local/bin/doas_askpass
@@ -1,7 +1,7 @@
#!/usr/bin/expect --
# askpass implementation for doas
-# example usage: DOAS_ASKPASS="rofi -dmenu -P -p password:" doas_askpass echo working
+# example usage: DOAS_ASKPASS="mew -P -p password:" doas_askpass echo working
# don't mind the man behind the curtain
log_user 0
diff --git a/.local/bin/maimpick b/.local/bin/maimpick
index 390d5e2..29cf327 100755
--- a/.local/bin/maimpick
+++ b/.local/bin/maimpick
@@ -13,7 +13,7 @@ get_active_window() {
hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"'
}
-case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area (swappy)\\ncurrent window (swappy)\\nfull screen (swappy)\\ncopy selected image to text" | rofi -dmenu -l 10 -i -p "Screenshot which area?")" in
+case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area (swappy)\\ncurrent window (swappy)\\nfull screen (swappy)\\ncopy selected image to text" | mew -l 10 -i -p "Screenshot which area?")" in
"a selected area") geometry=$(slurp) && sleep 0.2 && grim -g "$geometry" pic-selected-"${output}" && notify-send "📸 maimpick" "Screenshot saved as pic-selected-$output." ;;
"current window")
geometry=$(get_active_window)
diff --git a/.local/bin/mounter b/.local/bin/mounter
index 5828cd9..6d65c2c 100755
--- a/.local/bin/mounter
+++ b/.local/bin/mounter
@@ -23,7 +23,7 @@ lsblkoutput="$(doas lsblk -rpo "uuid,name,type,size,label,mountpoint,fstype")"
allluks="$(echo "$lsblkoutput" | rg crypto_LUKS)"
# Get a list of the LUKS drive UUIDs already decrypted.
decrypted="$(find /dev/disk/by-id/dm-uuid-CRYPT-LUKS2-* | sed "s|.*LUKS2-||;s|-.*||")"
-# Functioning for formatting drives correctly for rofi -dmenu:
+# Functioning for formatting drives correctly for mew:
filter() { sed "s/ /:/g" | awk -F':' '$7==""{printf "%s%s (%s) %s\n",$1,$3,$5,$6}' ; }
# Get only LUKS drives that are not decrypted.
@@ -49,15 +49,15 @@ set -e
test -n "$alldrives"
-# Feed all found drives to rofi -dmenu and get user choice.
-chosen="$(echo "$alldrives" | rofi -dmenu -p "Mount which drive?" -i)"
+# Feed all found drives to mew and get user choice.
+chosen="$(echo "$alldrives" | mew -p "Mount which drive?" -i)"
# Function for prompting user for a mountpoint.
getmount(){
- mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | rofi -dmenu -i -p "Mount this drive where?")"
+ mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | mew -i -p "Mount this drive where?")"
test -n "$mp"
if [ ! -d "$mp" ]; then
- mkdiryn=$(printf "No\\nYes" | rofi -dmenu -i -p "$mp does not exist. Create it?")
+ mkdiryn=$(printf "No\\nYes" | mew -i -p "$mp does not exist. Create it?")
[ "$mkdiryn" = "Yes" ] && (mkdir -p "$mp" || doas_askpass mkdir -p "$mp")
fi
}
@@ -94,7 +94,7 @@ case "$chosen" in
done
# Decrypt in a terminal window
- ${TERMINAL:-st} --app-id termfloat -e doas cryptsetup open "$chosen" "usb$num"
+ ${TERMINAL:-st} -a termfloat -e doas cryptsetup open "$chosen" "usb$num"
# Check if now decrypted.
test -b "/dev/mapper/usb$num"
diff --git a/.local/bin/rssget b/.local/bin/rssget
index 5406d33..45064b7 100755
--- a/.local/bin/rssget
+++ b/.local/bin/rssget
@@ -4,7 +4,7 @@
# also find hidden RSS feeds on various websites, namely Youtube, Reddit,
# Vimeo, Github, Gitlab and Medium. Gets site url as $1 or (if not present)
# from X clipboard. Gets tags as $2. If it finds more than one feed, calls
-# rofi -dmenu for the user to choose which one to add. I have bound it to a keyboard
+# mew for the user to choose which one to add. I have bound it to a keyboard
# shortcut so i copy a site link and easily add its feed to the reader.
# Inspired by and based on the logic of this extension:
@@ -109,7 +109,7 @@ else
list="$(getlink "$url")"
fi
-[ "$(echo "$list" | wc -l)" -eq 1 ] && chosen_link="$list" || chosen_link=$(printf '%s\n' "${list[@]}" | rofi -dmenu -p "Choose a feed:")
+[ "$(echo "$list" | wc -l)" -eq 1 ] && chosen_link="$list" || chosen_link=$(printf '%s\n' "${list[@]}" | mew -p "Choose a feed:")
tags="$2"
ifinstalled rssadd && rssadd "$chosen_link" "$tags"
echo "$chosen_link" "$tags"
diff --git a/.local/bin/singboxwrap b/.local/bin/singboxwrap
index b2af2c6..e52db36 100755
--- a/.local/bin/singboxwrap
+++ b/.local/bin/singboxwrap
@@ -10,13 +10,13 @@ run_singbox () {
pidof sing-box >/dev/null && killall sing-box
setsid -f sing-box -c "$1" run
if [ "$input" = menu ]; then
- notify-send "sing-box" "sing-box with $(readlink "$1") is running now"
+ notify-send "sing-box with $(readlink "$1") is running now"
fi
- } || notify-send "sing-box" "Config check has failed. Check your configuration at $(readlink $1)" & exit 1
+ } || notify-send "Config check has failed. Check your configuration at $(readlink $1)" & exit 1
}
choose_menu () {
- choose="$(fd . $config_dir -d 1 -t f | rofi -dmenu -p "Config to use")"
+ choose="$(fd . $config_dir -d 1 -t f | mew -p "Config to use")"
[ -n "$choose" ] || exit 1
ln -sf "$choose" "$default_path"
echo "$default_path"
diff --git a/.local/bin/statusbar/sb-doppler b/.local/bin/statusbar/sb-doppler
index e495510..1930752 100755
--- a/.local/bin/statusbar/sb-doppler
+++ b/.local/bin/statusbar/sb-doppler
@@ -199,7 +199,7 @@ DE: SHH: Schleswig-Holstein
DE: SHH: Hamburg
DE: THU: Thuringia
NL: The Netherlands
-RU: Russian Federation" | rofi -dmenu -i -l 50 -p "Select a radar to use as default:")"
+RU: Russian Federation" | mew -i -l 50 -p "Select a radar to use as default:")"
# Ensure user did not escape.
[ -z "$chosen" ] && exit 1
diff --git a/.local/bin/statusbar/sb-kbselect b/.local/bin/statusbar/sb-kbselect
index 1614480..f4d3e9e 100755
--- a/.local/bin/statusbar/sb-kbselect
+++ b/.local/bin/statusbar/sb-kbselect
@@ -1,6 +1,6 @@
#!/bin/sh
# works on any init system
-# requirements: rofi -dmenu
+# requirements: mew
kbquery()
{
@@ -13,7 +13,7 @@ kbquery()
kb=$(kbquery)
case $BLOCK_BUTTON in
- 1) kb_choice="$(awk '/! layout/{flag=1; next} /! variant/{flag=0} flag {print $2, "- " $1}' /usr/share/X11/xkb/rules/base.lst | rofi -dmenu -l 15)"
+ 1) kb_choice="$(awk '/! layout/{flag=1; next} /! variant/{flag=0} flag {print $2, "- " $1}' /usr/share/X11/xkb/rules/base.lst | mew -l 15)"
[ -z "$kb_choice" ] && exit 0
kb="$(echo "$kb_choice" | awk '{print $3}')"
swaymsg input "type:keyboard" xkb_layout "$kb" >/dev/null 2>&1
diff --git a/.local/bin/sysact b/.local/bin/sysact
index b758d13..ac910c5 100755
--- a/.local/bin/sysact
+++ b/.local/bin/sysact
@@ -1,6 +1,6 @@
#!/bin/sh
-# A rofi -dmenu wrapper script for system functions.
+# A mew wrapper script for system functions.
export WM="Hyprland"
case "$(readlink -f /sbin/init)" in
*systemd*) ctl='systemctl' ;;
@@ -23,7 +23,7 @@ lock(){
kill -44 $(pidof waybar)
}
-case "$(printf " lock\n󰩈 leave $WM\n renew $WM\n hibernate\n reboot\n shutdown\n󰒲 sleep\n󰍹 display off" | rofi -dmenu -i -p 'Action: ')" in
+case "$(printf " lock\n󰩈 leave $WM\n renew $WM\n hibernate\n reboot\n shutdown\n󰒲 sleep\n󰍹 display off" | mew -i -p 'Action: ')" in
' lock') lock ;;
"󰩈 leave $WM") hyprctl dispatch exit ;;
" renew $WM") hyprctl reload ;;
diff --git a/.local/bin/td-toggle b/.local/bin/td-toggle
index 60a5f6a..24ded26 100755
--- a/.local/bin/td-toggle
+++ b/.local/bin/td-toggle
@@ -4,9 +4,9 @@
if pidof transmission-daemon >/dev/null ;
then
- [ "$(printf "No\\nYes" | rofi -dmenu -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-daemon && notify-send "transmission-daemon disabled."
+ [ "$(printf "No\\nYes" | mew -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-daemon && notify-send "transmission-daemon disabled."
else
ifinstalled transmission-cli || exit
- [ "$(printf "No\\nYes" | rofi -dmenu -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "transmission-daemon enabled."
+ [ "$(printf "No\\nYes" | mew -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "transmission-daemon enabled."
fi
-sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-waybar}"
+sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-i3blocks}"
diff --git a/.local/bin/unmounter b/.local/bin/unmounter
index d43089f..fe1d01a 100755
--- a/.local/bin/unmounter
+++ b/.local/bin/unmounter
@@ -10,7 +10,7 @@ allunmountable="$(echo "$mounteddroids
$mounteddrives" | sed "/^$/d;s/ *$//")"
test -n "$allunmountable"
-chosen="$(echo "$allunmountable" | rofi -dmenu -i -p "Unmount which drive?")"
+chosen="$(echo "$allunmountable" | mew -i -p "Unmount which drive?")"
chosen="${chosen%% *}"
test -n "$chosen"
diff --git a/.local/share/applications/file.desktop b/.local/share/applications/file.desktop
index b65a2d7..dcdf465 100644
--- a/.local/share/applications/file.desktop
+++ b/.local/share/applications/file.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=File Manager
-Exec=/usr/bin/kitty -e yazi %u
+Exec=/usr/bin/footclient -e yazi %u
diff --git a/.local/share/applications/mail.desktop b/.local/share/applications/mail.desktop
index bc6702e..e7e16ae 100644
--- a/.local/share/applications/mail.desktop
+++ b/.local/share/applications/mail.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=Mail
-Exec=/usr/bin/kitty -e neomutt %u
+Exec=/usr/bin/footclient -e neomutt %u
diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop
index 58c9986..ac53b06 100644
--- a/.local/share/applications/text.desktop
+++ b/.local/share/applications/text.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=Text editor
-Exec=/usr/bin/kitty -e nvim %u
+Exec=/usr/bin/footclient -e nvim %u
diff --git a/dependencies.txt b/dependencies.txt
index 722d56c..93dcd3d 100644
--- a/dependencies.txt
+++ b/dependencies.txt
@@ -8,10 +8,10 @@ hyprland
swayidle
swaylock
mako
-kitty
+foot
xdg-desktop-portal-hyprland
waybar
-rofi-wayland
+mew-git
# PROGRAMS #
neovim