Improve hyprland-config and other small stuff

This commit is contained in:
Tobias Reisinger 2023-07-23 16:12:18 +02:00
parent 7068f9e564
commit f3b67ca2e9
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 50 additions and 36 deletions

View file

@ -73,6 +73,8 @@ _autostart_manage_exec () {
}
_autostart_run_graphical () {
pass x # Try to unlock yubikey asap
start-audio pipewire
wait-for-service "network-online.target"

View file

@ -42,7 +42,7 @@ hosts = []
group = 'chat'
[apps.hyprland-handler]
command = '$XDG_CONFIG_HOME/hypr/handler'
command = '$XDG_CONFIG_HOME/hypr/handler.sh'
hosts = []
group = 'wayland'

View file

@ -1,8 +0,0 @@
source = ~/.config/hypr/dracula.conf
source = ~/.config/hypr/env.conf
source = ~/.config/hypr/vars.conf
source = ~/.config/hypr/binds.conf
source = ~/.config/hypr/rules.conf
exec-once = autostart-manage run-wayland

View file

@ -9,7 +9,9 @@ bind = $main_mod, F, fullscreen,
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
bind = $main_mod, Pause, exec, menu-shutdown
bind = $main_mod, Print, exec, screenshot
bind = $main_mod CTRL, Print, exec, screenshot --no-upload
bind = $main_mod SHIFT, R, exec, autostart-manage run-wayland

17
.config/hypr/host.conf Normal file
View file

@ -0,0 +1,17 @@
$mon1 = DP-1
$mon2 = HDMI-A-1
workspace=$ws01, monitor:$mon1, default:true
workspace=$ws02, monitor:$mon1
workspace=$ws03, monitor:$mon1
workspace=$ws04, monitor:$mon1
workspace=$ws05, monitor:$mon1
workspace=$ws06, monitor:$mon1
workspace=$ws07, monitor:$mon1
workspace=$ws08, monitor:$mon2
workspace=$ws09, monitor:$mon2, default:true
workspace=$ws10, monitor:$mon2
monitor = $mon1,2560x1440@144,1920x0,auto
monitor = $mon2,1920x1080@60,0x0,auto

View file

@ -1,21 +1,12 @@
source = ~/.config/hypr/dracula.conf
source = ~/.config/hypr/defaults.conf
$mon1 = DP-1
$mon2 = HDMI-A-1
source = ~/.config/hypr/host.conf
workspace=$ws01, monitor:$mon1, default:true
workspace=$ws02, monitor:$mon1
workspace=$ws03, monitor:$mon1
workspace=$ws04, monitor:$mon1
workspace=$ws05, monitor:$mon1
workspace=$ws06, monitor:$mon1
workspace=$ws07, monitor:$mon1
source = ~/.config/hypr/env.conf
source = ~/.config/hypr/vars.conf
source = ~/.config/hypr/binds.conf
source = ~/.config/hypr/rules.conf
workspace=$ws08, monitor:$mon2
workspace=$ws09, monitor:$mon2, default:true
workspace=$ws10, monitor:$mon2
monitor = $mon1,2560x1440@144,1920x0,auto
monitor = $mon2,1920x1080@60,0x0,auto
source = ~/.config/hypr/base.conf
exec-once = autostart-manage run-wayland

View file

@ -5,9 +5,9 @@ windowrulev2 = workspace $ws_web, class:(firefox)
windowrulev2 = workspace $ws_focus, class:^(jetbrains-)
windowrulev2 = workspace $ws_media, class:(Chromium)
windowrulev2 = workspace $ws_media, class:(FreeTube)
windowrulev2 = workspace $ws_media, class:(qutebrowser-kiosk)
windowrulev2 = workspace $ws_media silent, class:(Chromium)
windowrulev2 = workspace $ws_media silent, class:(FreeTube)
windowrulev2 = workspace $ws_media silent, class:(qutebrowser-kiosk)
windowrulev2 = workspace $ws_chat silent, class:(discord)
windowrulev2 = workspace $ws_chat silent, class:(Element)
@ -27,12 +27,20 @@ windowrulev2 = monitor $mon2, class:(steam), title:^(Friends List)
windowrulev2 = float, class:(xdg-desktop-portal-gtk)
#windowrulev2 = monitor $mon2 silent, class:(thunderbird), title:^$ # where monitor silent rule?
windowrulev2 = noinitialfocus, class:(thunderbird), title:^$
windowrulev2 = monitor $mon2, class:(thunderbird), title:^$ # where monitor silent rule?
windowrulev2 = nofocus, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:^$
windowrulev2 = move 100%-600 5, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:(Reminder)$
windowrulev2 = move 5 5, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:(Reminder)
windowrulev2 = float, class:(org.keepassxc.KeePassXC), title:(KeePassXC - Browser Access Request)
windowrulev2 = float, class:(Pinetry-gtk-2)
windowrulev2 = fullscreen, class:(FreeTube)
#windowrulev2 = tile, class:(discord)
#windowrulev2 = nofullscreenrequest, class:(discord)
windowrulev2 = float, class:(com/.https://ultimaker.UltiMaker-Cura), title:(UltiMaker-Cura)

View file

@ -8,7 +8,7 @@ input {
numlock_by_default = true
follow_mouse = 1
mouse_refocus = false
mouse_refocus = true
accel_profile = flat
touchpad {
@ -28,7 +28,7 @@ general {
cursor_inactive_timeout = 3
no_cursor_warps = true
layout = master
layout = dwindle
}
decoration {
@ -59,6 +59,8 @@ dwindle {
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
force_split = 2 # always split to right/bottom
no_gaps_when_only = yes
}

View file

@ -9,4 +9,4 @@ c.tabs.show = 'never'
c.statusbar.show = 'never'
c.auto_save.session = False
c.url.start_pages = ['https://twitch.tv/']
c.url.start_pages = ['https://nebula.tv/']