diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/hypr/hyprland.conf | 11 | ||||
-rw-r--r-- | .config/newsboat/config | 33 | ||||
-rw-r--r-- | .config/waybar/config | 30 |
3 files changed, 42 insertions, 32 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e709b2b..0a7efdd 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -14,7 +14,7 @@ exec-once = dunst exec-once = hypridle exec-once = gpg-agent --daemon exec-once = sing-box run -c /mnt/ssd/settings/config.json -exec-once = sleep 2 && waybar +exec-once = waybar env = QT_SCREEN_SCALE_FACTORS,1;1 env = XCURSOR_SIZE,24 @@ -119,10 +119,6 @@ gestures { workspace_swipe = false } -xwayland { - force_zero_scaling = true -} - $mainMod = SUPER # Sets "Windows" key as main modifier bind = $mainMod, Return, exec, $terminal @@ -143,6 +139,7 @@ bind = $mainMod, E, exec, foot -e neomutt; pkill -RTMIN+12 waybar bind = $mainMod SHIFT, N, exec, foot -e newsboat; pkill -RTMIN+6 waybar bind = $mainMod SHIFT, S, exec, slurp | grim -t jpeg -g - - | wl-copy -t image/jpeg bind = $mainMod SHIFT, R, exec, foot -e btop +bind = $mainMod, M, exec, foot -e cmus bind =,XF86AudioPlay, exec, playerctl play-pause bind =,XF86AudioPrev, exec, playerctl previous bind =,XF86AudioNext, exec, playerctl next @@ -197,3 +194,7 @@ workspace = 1, monitor:DP-2 workspace = 2, monitor:DP-2 workspace = 3, monitor:DP-3 workspace = 4, monitor:DP-3 + +ecosystem { + no_update_news = true +} diff --git a/.config/newsboat/config b/.config/newsboat/config index 3feffa5..66c0400 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -24,12 +24,20 @@ bind-key D pb-download bind-key U show-urls bind-key x pb-delete -color listnormal cyan default -color listfocus black yellow standout bold -color listnormal_unread blue default -color listfocus_unread yellow default bold -color info red black bold -color article white default bold +color article color223 default +color background color100 default +color info color142 default +color listfocus color214 default +color listfocus_unread color214 default +color listnormal color246 default +color listnormal_unread color175 default +highlight article "^Feed:.*" color175 default +highlight article "^Title:.*" color214 default bold +highlight article "^Author:.*" color167 default +highlight article "^Link:.*" color109 default +highlight article "^Date:.*" color142 default +highlight article "\\[[0-9]\\+\\]" color208 default bold +highlight article "\\[[^0-9].*[0-9]\\+\\]" color167 default bold browser linkhandler macro , open-in-browser @@ -42,16 +50,3 @@ macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler macro p set browser "peertubetorrent %u 480" ; open-in-browser ; set browser linkhandler macro P set browser "peertubetorrent %u 1080" ; open-in-browser ; set browser linkhandler - -highlight all "---.*---" yellow -highlight feedlist ".*(0/0))" black -highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold -highlight article "(^Link:.*|^Date:.*)" default default -highlight article "https?://[^ ]+" green default -highlight article "^(Title):.*$" blue default -highlight article "\\[[0-9][0-9]*\\]" magenta default bold -highlight article "\\[image\\ [0-9]+\\]" green default bold -highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold -highlight article ":.*\\(link\\)$" cyan default -highlight article ":.*\\(image\\)$" blue default -highlight article ":.*\\(embedded flash\\)$" magenta default diff --git a/.config/waybar/config b/.config/waybar/config index 8b7793c..6e43e9f 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,11 +1,12 @@ { "layer": "top", "position": "top", + "output": "DP-2", "spacing": 20, "reload_style_on_change": true, "modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-center": [], - "modules-right": ["custom/packages", "custom/memory","custom/doppler","custom/forecast","custom/mailbox","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet","tray"], + "modules-right": ["custom/packages", "custom/news", "custom/memory", "custom/forecast","custom/mailbox","custom/nettraf","custom/microphone","custom/volume","custom/clock","custom/internet","tray"], "hyprland/window": { "format": "{}", @@ -20,6 +21,17 @@ "format": "{name}", }, + "custom/news" : { + "tooltip": false, + "format": "{}", + "signal": 6, + "exec" : "sb-news", + "on-click": "sb-news 1", + "on-click-right": "sb-news 3", + "on-click-middle": "sb-news 2", + "on-click-backward": "sb-news 6", + }, + "custom/packages" : { "tooltip": false, "format": "{}", @@ -93,12 +105,13 @@ "custom/microphone" : { "tooltip": false, "format": "{}", - "signal": 8, + "signal": 23, "exec" : "sb-microphone", + "interval": 10, "on-click": "sb-microphone 1", - "on-click-middle": "wpctl set-mute @DEFAULT_SOURCE@ toggle; pkill -RTMIN+8 waybar", - "on-scroll-up": "wpctl set-volume @DEFAULT_SOURCE@ 0.01+; pkill -RTMIN+8 waybar", - "on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 0.01-; pkill -RTMIN+8 waybar", + "on-click-middle": "sb-microphone 2", + "on-scroll-up": "sb-microphone 4", + "on-scroll-down": "sb-microphone 5", "on-click-right": "sb-microphone 3", "on-click-backward": "sb-microphone 6" }, @@ -108,10 +121,11 @@ "format": "{}", "signal": 10, "exec" : "sb-volume", + "interval": 10, "on-click": "sb-volume 1", - "on-click-middle": "wpctl set-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+10 waybar", - "on-scroll-up": "wpctl set-volume @DEFAULT_SINK@ 0.01+; pkill -RTMIN+10 waybar", - "on-scroll-down": "wpctl set-volume @DEFAULT_SINK@ 0.01-; pkill -RTMIN+10 waybar", + "on-click-middle": "sb-volume 2", + "on-scroll-up": "sb-volume 4", + "on-scroll-down": "sb-volume 5", "on-click-right": "sb-volume 3", "on-click-backward": "sb-volume 6" }, |