added window rules and services
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
monitor=eDP-1, disable
|
|
||||||
|
|||||||
@@ -14,4 +14,3 @@ exec-once = uwsm app -- hyprpaper
|
|||||||
# exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
|
# exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
|
||||||
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
||||||
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
|
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
|
||||||
exec-once = uwsm app -- ~/.cargo/bin/fluxo-rs daemon
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ env = XCURSOR_THEME,Bibata-Modern-Classic
|
|||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
# env = debug:full_cm_proto,true
|
# env = debug:full_cm_proto,true
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||||
# env = LIBVA_DRIVER_NAME,radeonsi
|
env = LIBVA_DRIVER_NAME,radeonsi
|
||||||
# env = VDPAU_DRIVER,radeonsi
|
env = VDPAU_DRIVER,radeonsi
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||||
env = EDITOR,nvim
|
env = EDITOR,nvim
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ bindr = ALT, z, exec, ~/.config/hypr/scripts/replay-ctrl.sh toggle
|
|||||||
bindr = ALT SHIFT, c, exec, ~/.config/hypr/scripts/droidcam-ctrl.sh toggle
|
bindr = ALT SHIFT, c, exec, ~/.config/hypr/scripts/droidcam-ctrl.sh toggle
|
||||||
|
|
||||||
# general binds
|
# general binds
|
||||||
|
bind = $mainMod, B, exec, fluxo bt menu
|
||||||
bind = $mainMod, RETURN, exec, $terminal
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
bind = $mainMod SHIFT, Q, killactive,
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
bind = $mainMod CTRL, L, exec, hyprlock
|
bind = $mainMod CTRL, L, exec, hyprlock
|
||||||
@@ -77,12 +78,12 @@ bindm = $mainMod, mouse:272, movewindow
|
|||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Laptop multimedia keys for volume and LCD brightness
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
bindel = ,XF86AudioRaiseVolume, exec, fluxo-rs vol up 5
|
bindel = ,XF86AudioRaiseVolume, exec, fluxo vol up 5
|
||||||
bindel = ,XF86AudioLowerVolume, exec, fluxo-rs vol down 5
|
bindel = ,XF86AudioLowerVolume, exec, fluxo vol down 5
|
||||||
bindel = ,XF86AudioMute, exec, fluxo-rs vol mute
|
bindel = ,XF86AudioMute, exec, fluxo vol mute
|
||||||
bindel = ,XF86AudioMicMute, exec, fluxo-rs mic mute
|
bindel = ,XF86AudioMicMute, exec, fluxo mic mute
|
||||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||||
|
|
||||||
# Requires playerctl
|
# Requires playerctl
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||||
# samsung home monitor
|
# samsung home monitor
|
||||||
monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@144, 0x-1440, 1
|
monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@144, 0x-1440, 1
|
||||||
|
# monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 1920x1080@144, 0x-1080, 1
|
||||||
|
# monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@60, 0x-1440, 1
|
||||||
|
|
||||||
|
|
||||||
# lid_state fallback
|
# lid_state fallback
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# VARIABLES
|
# VARIABLES
|
||||||
# ==========================================
|
# ==========================================
|
||||||
# Dialogs and utility apps that should float in the center
|
# Dialogs and utility apps that should float in the center
|
||||||
$dialog_titles = ^(Open Form|Open File|Select a File|Choose a file|Open Workspace|Choose Directory|Save As|Save File|branchdialog|pinentry-gtk-2|Confirm to replace files|File Operation Progress|Open Files|Anmelden – Google Konten — Zen Browser)$
|
$dialog_titles = ^(Open Form|Open File|Select a File|Choose a file|Open Workspace|Choose Directory.*|Save As.*|Save File.*|branchdialog|pinentry-gtk-2|Confirm to replace files|File Operation Progress|Open Files.*|Anmelden.*|File Upload.*)$
|
||||||
$dialog_classes = ^(pavucontrol|blueman-manager|nm-connection-editor|org.pulseaudio.pavucontrol)$
|
$dialog_classes = ^(pavucontrol|blueman-manager|nm-connection-editor|org.pulseaudio.pavucontrol)$
|
||||||
|
|
||||||
# App classes
|
# App classes
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Fluxo — high-performance Waybar module daemon
|
||||||
|
Documentation=https://github.com/narl/fluxo-rs
|
||||||
|
PartOf=graphical-session.target
|
||||||
|
After=graphical-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=%h/.cargo/bin/fluxo daemon
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
|
# Ensure the daemon can reach the user's D-Bus session and Wayland/Hyprland sockets.
|
||||||
|
Slice=app-graphical.slice
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/home/narl/.config/systemd/user/fluxo.service
|
||||||
+28
-28
@@ -36,7 +36,7 @@
|
|||||||
"custom/mpris": {
|
"custom/mpris": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs mpris",
|
"exec": "fluxo mpris",
|
||||||
"on-click": "playerctl play-pause",
|
"on-click": "playerctl play-pause",
|
||||||
"signal": 11
|
"signal": 11
|
||||||
},
|
},
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"custom/dnd": {
|
"custom/dnd": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs dnd",
|
"exec": "fluxo dnd",
|
||||||
"on-click": "dunstctl set-paused toggle",
|
"on-click": "dunstctl set-paused toggle",
|
||||||
"signal": 13,
|
"signal": 13,
|
||||||
"interval": 5
|
"interval": 5
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
"custom/gamemode": {
|
"custom/gamemode": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs game",
|
"exec": "fluxo game",
|
||||||
"on-click": "~/.config/hypr/scripts/gamemode.sh",
|
"on-click": "~/.config/hypr/scripts/gamemode.sh",
|
||||||
"signal": 7,
|
"signal": 7,
|
||||||
"interval": 5
|
"interval": 5
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
"custom/power_status": {
|
"custom/power_status": {
|
||||||
"format": "{} ",
|
"format": "{} ",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs power",
|
"exec": "fluxo power",
|
||||||
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown",
|
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown",
|
||||||
"signal": 10,
|
"signal": 10,
|
||||||
"interval": 5
|
"interval": 5
|
||||||
@@ -125,86 +125,86 @@
|
|||||||
"custom/mic"
|
"custom/mic"
|
||||||
],
|
],
|
||||||
|
|
||||||
// --- Fluxo-rs System & Hardware ---
|
// --- fluxo System & Hardware ---
|
||||||
"custom/sys": {
|
"custom/sys": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs sys",
|
"exec": "fluxo sys",
|
||||||
"signal": 5,
|
"signal": 5,
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
},
|
||||||
"custom/cpu": {
|
"custom/cpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs cpu",
|
"exec": "fluxo cpu",
|
||||||
"on-click": "zenmonitor & disown",
|
"on-click": "zenmonitor & disown",
|
||||||
"signal": 2
|
"signal": 2
|
||||||
},
|
},
|
||||||
"custom/mem": {
|
"custom/mem": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs mem",
|
"exec": "fluxo mem",
|
||||||
"signal": 3
|
"signal": 3
|
||||||
},
|
},
|
||||||
"custom/gpu": {
|
"custom/gpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs gpu",
|
"exec": "fluxo gpu",
|
||||||
"signal": 4
|
"signal": 4
|
||||||
},
|
},
|
||||||
"custom/network": {
|
"custom/network": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs net",
|
"exec": "fluxo net",
|
||||||
"signal": 1
|
"signal": 1
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/disk-root": {
|
"custom/disk-root": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs disk /",
|
"exec": "fluxo disk /",
|
||||||
"signal": 6
|
"signal": 6
|
||||||
},
|
},
|
||||||
|
|
||||||
// --- Fluxo-rs Audio & BT ---
|
// --- fluxo Audio & BT ---
|
||||||
"custom/volume": {
|
"custom/volume": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs vol",
|
"exec": "fluxo vol",
|
||||||
"on-click": "fluxo-rs vol mute",
|
"on-click": "fluxo vol mute",
|
||||||
"on-scroll-up": "fluxo-rs vol up 5",
|
"on-scroll-up": "fluxo vol up 5",
|
||||||
"on-scroll-down": "fluxo-rs vol down 5",
|
"on-scroll-down": "fluxo vol down 5",
|
||||||
"on-click-right": "fluxo-rs vol cycle",
|
"on-click-right": "fluxo vol cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"signal": 8
|
"signal": 8
|
||||||
},
|
},
|
||||||
"custom/mic": {
|
"custom/mic": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs mic",
|
"exec": "fluxo mic",
|
||||||
"on-click": "fluxo-rs mic mute",
|
"on-click": "fluxo mic mute",
|
||||||
"on-scroll-up": "fluxo-rs mic up 5",
|
"on-scroll-up": "fluxo mic up 5",
|
||||||
"on-scroll-down": "fluxo-rs mic down 5",
|
"on-scroll-down": "fluxo mic down 5",
|
||||||
"on-click-right": "fluxo-rs mic cycle",
|
"on-click-right": "fluxo mic cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"signal": 8
|
"signal": 8
|
||||||
},
|
},
|
||||||
"custom/bluetooth-audio": {
|
"custom/bluetooth-audio": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs bt",
|
"exec": "fluxo bt",
|
||||||
"on-click": "fluxo-rs bt menu",
|
"on-click": "fluxo bt menu",
|
||||||
"on-click-right": "fluxo-rs bt cycle",
|
"on-click-right": "fluxo bt cycle",
|
||||||
"on-click-middle": "fluxo-rs bt cycle_mode",
|
"on-click-middle": "fluxo bt cycle_mode",
|
||||||
"signal": 9,
|
"signal": 9,
|
||||||
"tooltip": true
|
"tooltip": true
|
||||||
},
|
},
|
||||||
"custom/backlight": {
|
"custom/backlight": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs backlight",
|
"exec": "fluxo backlight",
|
||||||
"on-scroll-up": "brightnessctl s +10%",
|
"on-scroll-up": "brightnessctl s +10%",
|
||||||
"on-scroll-down": "brightnessctl s 10%",
|
"on-scroll-down": "brightnessctl s 10%-",
|
||||||
"signal": 12
|
"signal": 12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user