diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 07e0389..665ba0e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -32,7 +32,7 @@ monitor=DP-3,3440x1440@144,auto,auto # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use -$terminal = gnome-terminal +$terminal = kitty $fileManager = nautilus $menu = wofi --show drun @@ -48,6 +48,7 @@ $menu = wofi --show drun # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = flatpak run com.core447.StreamController exec-once = waybar & discord & ulauncher-toggle & openfortigui @@ -197,7 +198,8 @@ device { # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier -bind = CTRL ALT, T, exec, kitty +bind = CTRL ALT, T, exec, $terminal +bind = ALT, TAB, exec, rofi -show window -theme ~/.config/rofi/launchers/type-2/style-15.rasi bind = , XF86Calculator, exec, gnome-calculator bind = SUPER, space, exec, ~/.config/rofi/launchers/type-2/launcher.sh binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ @@ -274,6 +276,10 @@ bindm = $mainMod, mouse:273, resizewindow # windowrule = float, ^(kitty)$ # Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ +# windowrulev2 = float,class:(kitty),title:(kitty) +windowrulev2 = float,class:(org.gnome.Nautilus) +windowrulev2 = center, class:.* +windowrulev2 = size 1000 1000, class:.* windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. + diff --git a/.config/rofi/applets/type-3/style-3.rasi b/.config/rofi/applets/type-3/style-3.rasi index 3e96b43..c5b1648 100644 --- a/.config/rofi/applets/type-3/style-3.rasi +++ b/.config/rofi/applets/type-3/style-3.rasi @@ -27,7 +27,7 @@ window { anchor: North East; fullscreen: false; width: 120px; - x-offset: -240px; + x-offset: -170px; y-offset: 10px; margin: 0px; padding: 0px; diff --git a/.config/rofi/powermenu/type-2/style-5.rasi b/.config/rofi/powermenu/type-2/style-5.rasi index 9060661..b1104d5 100644 --- a/.config/rofi/powermenu/type-2/style-5.rasi +++ b/.config/rofi/powermenu/type-2/style-5.rasi @@ -29,7 +29,7 @@ window { fullscreen: false; width: 115px; x-offset: -20px; - y-offset: 20px; + y-offset: 10px; /* properties for all widgets */ enabled: true; diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 6fad802..92304cd 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -3,9 +3,9 @@ "position": "top", // Waybar position (top|bottom|left|right) // "width": 1280, // Waybar width // Choose the order of the modules - "modules-left": ["hyprland/workspaces"], - "modules-center": ["custom/music"], - "modules-right": ["pulseaudio", "custom/tomato", "clock", "tray", "custom/lock", "custom/power"], + "modules-left": ["hyprland/workspaces", "custom/music", "privacy"], + "modules-center": ["clock#date", "clock"], + "modules-right": ["load", "custom/tomato", "pulseaudio", "tray", "custom/lock", "custom/power"], "hyprland/workspaces": { "disable-scroll": true, "sort-by-name": true, @@ -27,12 +27,39 @@ "on-click": "playerctl play-pause", "max-length": 50 }, + "privacy": { + "icon-spacing": 4, + "icon-size": 18, + "transition-duration": 250, + "modules": [ + { + "type": "screenshare", + "tooltip": false, + "tooltip-icon-size": 24 + }, + { + "type": "audio-in", + "tooltip": false, + "tooltip-icon-size": 24 + } + ] + }, + "load": { + "interval": 1, + "format": " {load5}" + }, "clock": { "timezone": "Europe/Paris", - "tooltip-format": "{:%Y %B}\n{calendar}", - "format-alt": " {:%d/%m/%Y}", + "tooltip": false, "format": " {:%H:%M}" }, + "clock#date": { + "timezone": "Europe/Paris", + "locale": "fr_FR.UTF-8", + "tooltip": false, + "format": "󰃭 {:L%A %d/%m/%Y}", + "on-click": "gnome-calendar" + }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index b2d419d..d1ac51a 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -7,7 +7,7 @@ } #waybar { - background: transparent; + background: @base; color: @text; margin: 5px 5px; } @@ -15,7 +15,7 @@ #workspaces { border-radius: 1rem; margin: 5px; - background-color: @surface0; + background-color: @mantle; margin-left: 1rem; padding-right: 0.2rem; } @@ -36,15 +36,18 @@ border-radius: 1rem; } +#load, +#privacy, #custom-music, #tray, #backlight, #clock, +#clock.date, #custom-tomato, #pulseaudio, #custom-lock, #custom-power { - background-color: @surface0; + background-color: @mantle; padding: 0.5rem 1rem; margin: 5px 0; } @@ -55,19 +58,34 @@ margin-right: 1rem; } +#clock.date { + border-radius: 1rem 0px 0px 1rem; +} + +#load { + color: @peach; + border-radius: 1rem 0px 0px 1rem; +} + +#privacy { + color: @mauve; + border-radius: 1rem; +} + #custom-tomato { color: @yellow; } #pulseaudio { color: @maroon; - border-radius: 1rem 0px 0px 1rem; - margin-left: 1rem; + border-radius: 0px 1rem 1rem 0px; + margin-right: 1rem; } #custom-music { color: @green; border-radius: 1rem; + margin-right: 1rem; } #custom-lock {