فهرست منبع

seperate wayland and X11 copy/paste scripts + don't send a notification on light/dark mode switch anymore + pulseaudio waybar module takes up less space now

Noah Vogt 17 ساعت پیش
والد
کامیت
9ff7d3e086
3فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 5 3
      dot-config/aliasrc
  2. 0 2
      dot-config/hypr/scripts/toggle-theme.sh
  3. 2 2
      dot-config/waybar/config.jsonc

+ 5 - 3
dot-config/aliasrc

@@ -36,9 +36,11 @@ alias nb='newsboat'
 alias mutt='neomutt'
 alias ne='neomutt'
 
-# copy and paste using xclip package
-alias copy="xclip -sel clip"
-alias paste="xclip -out -sel clip"
+# copy and paste
+alias x11-copy="xclip -sel clip"
+alias x11-paste="xclip -out -sel clip"
+alias copy="wl-copy"
+alias paste="wl-paste"
 
 # lockscreen
 alias lock='betterlockscreen -s dim'

+ 0 - 2
dot-config/hypr/scripts/toggle-theme.sh

@@ -15,14 +15,12 @@ if [ "$CURRENT_SCHEME" == "'prefer-dark'" ]; then
     cp "$WAYBAR_DIR/light.css" "$WAYBAR_DIR/theme.css"
     cp "$SWAYNC_DIR/light.css" "$SWAYNC_DIR/theme.css"
     ln -sf "$KITTY_DIR/light_theme.conf" "$KITTY_DIR/theme.conf"
-    notify-send "Light Mode" -a "System"
 else
     gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
     # Copy the dark theme to theme.css
     cp "$WAYBAR_DIR/dark.css" "$WAYBAR_DIR/theme.css"
     cp "$SWAYNC_DIR/dark.css" "$SWAYNC_DIR/theme.css"
     ln -sf "$KITTY_DIR/dark_theme.conf" "$KITTY_DIR/theme.conf"
-    notify-send "Dark Mode" -a "System"
 fi
 
 # Sends signals to these processes to speed up the theme switch

+ 2 - 2
dot-config/waybar/config.jsonc

@@ -97,8 +97,8 @@
     },
 
     "pulseaudio": {
-        "format": "{icon}   {volume}%",
-        "format-bluetooth": "󰂯  {icon}   {volume}%",
+        "format": "{icon}  {volume}%",
+        "format-bluetooth": "󰂯  {volume}%",
         "format-muted": "󰝟   Muted",
         "format-icons": {
             "headphone": "",