Compare commits

..

No commits in common. "0404379ed1e65e10c43ef819079da68a91d335b3" and "a9b29aea7fb445e6a72827e6d4900589195c95ea" have entirely different histories.

6 changed files with 41 additions and 72 deletions

View File

@ -4,7 +4,7 @@
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 1
monitor = DP-3
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer

View File

@ -3,14 +3,9 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme
# < Start Section >
# monitors
# nvidia
# Single
#monitor=DP-3, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 8
# intel
# Single
monitor=DP-1, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 8
#monitor=DP-2, disable
monitor=DP-1, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 10
monitor=DP-2, disable
# Double
#monitor=DP-1, 3440x1440@160, 1920x0, 1, vrr, 1, bitdepth, 8
@ -20,39 +15,13 @@ monitor=DP-1, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 8
# < Start Section >
# environment variables
env = xdg_current_desktop,hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = MOZ_ENABLE_WAYLAND,1
env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24
# nvidia
#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland
#env = GDM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# possible fnv fix?
#env = intel_btimr, false
# aquamarine
#env = AQ_TRACE, 1
#env = HYPRLAND_TRACE, 1
# < End Section >
# < Start Section >
# startup applications
# environment launches
exec-once = ~/.config/hypr/scripts/resetxdgportal.sh # reset XDPH for screenshare
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
$scrPath = ~/.config/hypr/scripts
exec-once = $scrPath/resetxdgportal.sh # reset XDPH for screenshare
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue for GUI apps
@ -60,27 +29,22 @@ exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Moch
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
# xrandr settings
exec-once = ~/.config/hypr/scripts/xrandr.sh
exec-once = $scrPath/xrandr.sh
# wayland to xwayland copy fix (text only)
#exec-once = wl-paste -t text -w xclip -selection clipboard
# background applications
exec-once = waybar -c ~/.config/waybar/config
exec-once = dunst
exec-once = swww-daemon
exec-once = swww init
exec-once = syncthing --no-browser
exec-once = xwaylandvideobridge
# main applications
exec-once = discord
#exec-once = dopamine
#exec-once = discord --enable-features=UseOzonePlatform --ozone-platform=wayland
exec-once = spotify --disable-gpu
exec-once = cool-retro-term
exec-once = alacritty
exec-once = firefox
#exec-once = taskset -c 1-7 steam
exec-once = taskset -c 1-7 steam
#exec-once = taskset -c 1-7 gamescope -W 3200 -H 1100 -b -- steam
#exec-once = bolt
exec-once = bolt
# < End Section >
@ -89,12 +53,10 @@ exec-once = firefox
# < Start Section >
# workspace rules
# gaps numbers (top, right, bottom, left)
workspace = 1, monitor:DP-1, persistent:true, default:true
#workspace = 1, monitor:DP-1, persistent:true, gapsout:0 440 0 440, default:true
workspace = 2, monitor:DP-1, persistent:true, gapsout:160 756 146 756
workspace = 3, monitor:DP-1, persistent:true, gapsout:50 440 50 440
workspace = 4, monitor:DP-1, persistent:true, gapsout:45 0 0 0
workspace = 1, monitor:DP-1, persistent:true, gapsout:0 440 0 440, default:true
workspace = 2, monitor:DP-1, persistent:true, gapsout:126 756 180 756
workspace = 3, monitor:DP-1, persistent:true, gapsout:0 440 0 440
workspace = 4, monitor:DP-1, persistent:true, gapsout:0 0 40 0
# Workspaces swapped for ease of use
workspace = 6, monitor:DP-1, persistent:true
@ -109,7 +71,6 @@ workspace = 5, monitor:DP-1, persistent:true
general {
gaps_in = 0
gaps_out = 8
border_size = 3
col.active_border = $peach
#col.inactive_border = $peach
@ -152,7 +113,6 @@ animations {
input {
kb_layout = us
kb_options = caps:swapescape
follow_mouse = 2
#follow_mouse = 3
mouse_refocus = false;
@ -174,7 +134,6 @@ misc {
force_default_wallpaper = 0
vrr = 1
vfr = true
no_direct_scanout = true
}
xwayland {
@ -203,10 +162,6 @@ debug {
# enabled = yes
#}
experimental {
explicit_sync = true
}
# < End Section >
@ -245,12 +200,12 @@ windowrulev2 = float, class:^(qt5ct)$
windowrulev2 = float, class:^(nwg-look)$
windowrulev2 = float, class:^(pavucontrol)$
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
#windowrulev2 = float, class:^(steam)$
# main
windowrulev2 = workspace 1 silent, class:^(discord)$
windowrulev2 = workspace 1 silent, class:^(Dopamine)$
windowrulev2 = workspace 1 silent, class:^(Spotify)$
windowrulev2 = workspace 2 silent, class:^(cool-retro-term.cool-retro-term)$
windowrulev2 = workspace 2 silent, class:^(Alacritty)$
windowrulev2 = workspace 3 silent, class:^(firefox)$
windowrulev2 = workspace 4 silent, class:^(steam)$
windowrulev2 = workspace 4 silent, title:^(Minecraft.*)$
@ -258,8 +213,7 @@ windowrulev2 = workspace 4 silent, class:^(steam_app_.*)$
windowrulev2 = workspace 4 silent, class:^(steam_proton)$
windowrulev2 = workspace 4 silent, class:^(hl2_linux)$
windowrulev2 = workspace 4 silent, class:^(gamescope)$
windowrulev2 = workspace 5 silent, class:^(steam)$
windowrulev2 = workspace 6 silent, class:^(Bolt.*)$
windowrulev2 = workspace 5 silent, class:^(Bolt.*)$
# development
windowrulev2 = pseudo, title:^(SnakePlusPlus)$
@ -332,7 +286,7 @@ bind = $mainMod SHIFT, J, togglesplit, # dwindle
bind = $mainMod SHIFT, SPACE, pseudo, # dwindle
# main application shortcuts
bind = $mainMod, RETURN, exec, cool-retro-term
bind = $mainMod, RETURN, exec, alacritty
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
bind = $mainMod SHIFT, 7, exec, taskset -c 1-7 prismlauncher
bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun
@ -386,3 +340,16 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# < End Section >
# < Start Section >
# environment variables
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = MOZ_ENABLE_WAYLAND,1
env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24
# < End Section >

View File

@ -1,9 +1,12 @@
#!/bin/bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-gnome
killall xdg-desktop-portal-kde
killall xdg-desktop-portal-lxqt
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
sleep 1
/usr/lib/xdg-desktop-portal-hyprland &
sleep 2
/usr/lib/xdg-desktop-portal &

View File

@ -2,7 +2,7 @@
{
"name": "main",
"layer": "bottom",
"position": "bottom",
"position": "top",
"height": 38,
"spacing": 0,
"output": "DP-1",

View File

@ -1,5 +1,5 @@
#!/bin/bash
case $(wofi -d -L 6 -l 3 -W 100 -x -75 -y 1225 \
case $(wofi -d -L 6 -l 3 -W 100 -x -490 -y 0 \
-D dynamic_lines=true << EOF | sed 's/^ *//'
Shutdown
Reboot

View File

@ -10,12 +10,11 @@
}
window#waybar {
background-color: transparent;
/*background-color: alpha(@base, 0.6);*/
background-color: alpha(@base, 0.6);
border-radius: 6px;
border: 0px solid @overlay0;
padding-top: 6px;
padding-bottom: 2px;
padding-top: 2px;
padding-bottom: 6px;
}
#workspaces button {