diff --git a/configs/hypr/hypridle.conf b/configs/hypr/hypridle.conf
index e69de29..44c1fc0 100644
--- a/configs/hypr/hypridle.conf
+++ b/configs/hypr/hypridle.conf
@@ -0,0 +1,13 @@
+general {
+ lock_cmd = notify-send "hyprctl notify 0 5000 'rgb(ff0000)' 'Locking...'" # dbus/sysd lock command (loginctl lock-session)
+ # unlock_cmd = notify-send "unlock!" # same as above, but unlock
+ before_sleep_cmd = notify-send "hyprctl notify 0 5000 'rgb(ff0000)' 'Going to sleep...'" # command ran before sleep
+ # after_sleep_cmd = notify-send "Awake!" # command ran after sleep
+ ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
+}
+
+listener {
+ timeout = 500 # in seconds
+ on-timeout = notify-send "You are idle!" # command to run when timeout has passed
+ on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
+}
\ No newline at end of file
diff --git a/configs/hypr/hyprland.conf b/configs/hypr/hyprland.conf
index 11b7794..19f852b 100644
--- a/configs/hypr/hyprland.conf
+++ b/configs/hypr/hyprland.conf
@@ -5,8 +5,9 @@ monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = lxqt-policykit-agent
-exec-once = nm-applet --indicator &
-exec-once = nwg-panel -d & nwg-dock-hyprland
+exec-once = nwg-panel
+exec-once = nwg-dock-hyprland -d -nolauncher
+exec-once = nm-applet --indicator
exec-once = dunst
# Window rules
@@ -16,6 +17,9 @@ windowrulev2 = float,class:(pavucontrol)
windowrulev2 = float,class:(system-config-printer)
windowrulev2 = float,class:(amdgpu_top)
windowrulev2 = float,class:(float)
+windowrulev2 = float,class:(nwg-.*)
+windowrulev2 = float,class:(org\.kde\..*)
+windowrulev2 = float,class:(.*blueman.*)
windowrulev2 = size 40%,40%,class:(pavucontrol)
windowrulev2 = center,class:(pavucontrol)
windowrulev2 = fakefullscreen,class:(Code)
diff --git a/configs/hypr/hyprlock.conf b/configs/hypr/hyprlock.conf
new file mode 100644
index 0000000..4f3ac04
--- /dev/null
+++ b/configs/hypr/hyprlock.conf
@@ -0,0 +1,86 @@
+background {
+ monitor =
+ path = /mnt/Data/Pictures/LockScreen.jpg
+ color = rgba(25, 20, 20, 1.0)
+
+ # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
+ blur_passes = 0 # 0 disables blurring
+ blur_size = 7
+ noise = 0.0117
+ contrast = 0.8916
+ brightness = 0.8172
+ vibrancy = 0.1696
+ vibrancy_darkness = 0.0
+}
+image {
+ monitor =
+ path = /mnt/Data/Pictures/LockScreen.jpg
+ size = 150 # lesser side if not 1:1 ratio
+ rounding = -1 # negative values mean circle
+ border_size = 4
+ border_color = rgb(221, 221, 221)
+ rotate = 0 # degrees, counter-clockwise
+ reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
+ reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
+
+ position = 0, 200
+ halign = center
+ valign = center
+}
+shape {
+ monitor =
+ size = 360, 60
+ color = rgba(17, 17, 17, 1.0)
+ rounding = -1
+ border_size = 8
+ border_color = rgba(0, 207, 230, 1.0)
+ rotate = 0
+ xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
+
+ position = 0, 80
+ halign = center
+ valign = center
+}
+input-field {
+ monitor =
+ size = 200, 50
+ outline_thickness = 3
+ dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = false
+ dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
+ outer_color = rgb(151515)
+ inner_color = rgb(200, 200, 200)
+ font_color = rgb(10, 10, 10)
+ fade_on_empty = true
+ fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
+ placeholder_text = Input Password... # Text rendered in the input box when it's empty.
+ hide_input = false
+ rounding = -1 # -1 means complete rounding (circle/oval)
+ check_color = rgb(204, 136, 34)
+ fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
+ fail_text = $FAIL ($ATTEMPTS) # can be set to empty
+ fail_transition = 300 # transition time in ms between normal outer_color and fail_color
+ capslock_color = -1
+ numlock_color = -1
+ bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
+ invert_numlock = false # change color if numlock is off
+ swap_font_color = false # see below
+
+ position = 0, -20
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ text = Hi there, $USER
+ text_align = center # center/right or any value for default left. multi-line text alignment inside label container
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 25
+ font_family = Noto Sans
+ rotate = 0 # degrees, counter-clockwise
+ position = 0, 80
+ halign = center
+ valign = center
+}
\ No newline at end of file
diff --git a/configs/hypr/monitors.conf b/configs/hypr/monitors.conf
index 10a0712..793f469 100644
--- a/configs/hypr/monitors.conf
+++ b/configs/hypr/monitors.conf
@@ -1,4 +1,4 @@
# Generated by nwg-displays on 2024-05-01 at 12:31:53. Do not edit manually.
-monitor=eDP-1,2256x1504,0x0,1.175
-monitor=DP-*,preferred,0x-1098,auto
+monitor=eDP-1,2256x1504,0x0,1
+monitor=DP-9,preferred,0x-1098,auto
diff --git a/configs/nwg-bar/bar.json b/configs/nwg-bar/bar.json
index ffbafc0..11938f6 100644
--- a/configs/nwg-bar/bar.json
+++ b/configs/nwg-bar/bar.json
@@ -1,4 +1,14 @@
[
+ {
+ "label": "Suspend",
+ "exec": "systemctl suspend",
+ "icon": "/nix/store/xl4m836jpyzq43azychrbbjjq1j7d0zq-nwg-bar-0.1.6/share/nwg-bar/images/system-suspend.svg"
+ },
+ {
+ "label": "Hibernate",
+ "exec": "systemctl hibernate",
+ "icon": "/nix/store/xl4m836jpyzq43azychrbbjjq1j7d0zq-nwg-bar-0.1.6/share/nwg-bar/images/system-hibernate.svg"
+ },
{
"label": "Logout",
"exec": "hyprctl dispatch exit",
@@ -14,5 +24,4 @@
"exec": "systemctl -i poweroff",
"icon": "/nix/store/xl4m836jpyzq43azychrbbjjq1j7d0zq-nwg-bar-0.1.6/share/nwg-bar/images/system-shutdown.svg"
}
-]
]
\ No newline at end of file
diff --git a/configs/nwg-panel/config b/configs/nwg-panel/config
index f8676b7..daeaa79 100644
--- a/configs/nwg-panel/config
+++ b/configs/nwg-panel/config
@@ -20,20 +20,16 @@
"hyprland-workspaces"
],
"modules-center": [
- "clock",
- "executor-memory",
- "executor-temp",
- "executor-cpuav"
- ],
- "modules-right": [
- "tray",
- "keyboard-layout"
+ "clock"
],
+ "modules-right": [],
"controls-settings": {
"components": [
"brightness",
"volume",
- "battery"
+ "battery",
+ "per-app-volume",
+ "processes"
],
"commands": {
"battery": ""
@@ -41,76 +37,48 @@
"show-values": false,
"interval": 1,
"icon-size": 16,
- "hover-opens": false,
+ "hover-opens": true,
"leave-closes": true,
- "click-closes": false,
+ "click-closes": true,
"css-name": "controls-window",
"custom-items": [
{
"name": "Panel settings",
"icon": "nwg-panel",
"cmd": "nwg-panel-config"
+ },
+ {
+ "name": "Exit",
+ "icon": "system-shutdown-symbolic",
+ "cmd": "nwg-bar"
}
],
+ "show-brightness": true,
+ "show-volume": true,
+ "show-battery": true,
+ "output-switcher": true,
+ "per-app-volume": false,
+ "backlight-controller": "brightnessctl",
+ "backlight-device": "",
+ "window-width": 0,
+ "window-margin-horizontal": 0,
+ "window-margin-vertical": 0,
+ "root-css-name": "controls-overview",
+ "battery-low-level": 20,
+ "battery-low-interval": 3,
+ "processes-label": "Processes",
+ "readme-label": "README",
+ "angle": 0.0,
"menu": {
"name": "Exit",
"icon": "system-shutdown-symbolic",
- "items": [
- {
- "name": "Logout",
- "cmd": "hyprctl dispatch exit"
- },
- {
- "name": "Reboot",
- "cmd": "systemctl reboot"
- },
- {
- "name": "Shutdown",
- "cmd": "systemctl -i poweroff"
- }
- ]
+ "items": []
}
},
"tray": {
"root-css-name": "tray",
"inner-css-name": "inner-tray"
},
- "sway-taskbar": {
- "workspace-menu": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8"
- ],
- "name-max-len": 20,
- "image-size": 16,
- "workspaces-spacing": 0,
- "task-padding": 0,
- "show-app-icon": true,
- "show-app-name": true,
- "show-layout": true,
- "workspace-buttons": false,
- "all-workspaces": true,
- "mark-autotiling": true,
- "mark-xwayland": true,
- "all-outputs": true
- },
- "sway-workspaces": {
- "numbers": [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8"
- ]
- },
"clock": {
"format": "%a, %d. %b %H:%M:%S",
"tooltip-text": "",
@@ -142,15 +110,7 @@
"label-css-name": "",
"interval": 1
},
- "button-sample": {
- "command": "notify-send 'sample button'",
- "icon": "view-grid",
- "label": "",
- "label-position": "right",
- "css-name": "button-custom",
- "icon-size": 16
- },
- "menu-start": "left",
+ "menu-start": "off",
"exclusive-zone": true,
"sigrt": 64,
"use-sigrt": false,
@@ -255,6 +215,26 @@
"css-name": "",
"icon-size": 16,
"icon-placement": "right"
+ },
+ "sway-taskbar": {},
+ "sway-workspaces": {},
+ "menu-start-settings": {
+ "cmd-lock": "hyprlock -q",
+ "cmd-logout": "hyprctl dispatch exit",
+ "cmd-restart": "systemctl reboot",
+ "cmd-shutdown": "systemctl -i poweroff",
+ "autohide": false,
+ "file-manager": "dolphin",
+ "icon-size-large": 32,
+ "icon-size-small": 16,
+ "icon-size-button": 20,
+ "margin-bottom": 0,
+ "margin-left": 0,
+ "margin-right": 0,
+ "margin-top": 0,
+ "padding": 2,
+ "terminal": "kitty",
+ "run-through-compositor": false
}
}
]
\ No newline at end of file