fix: use proper floating terminal

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-10 09:19:52 +01:00
parent 3b9752b5ee
commit 61072b816a
28 changed files with 294 additions and 386 deletions

View file

@ -1,6 +1,21 @@
#
#fix the fucking portal
exec-once=systemctl --user import-environment
exec-once=dbus-update-activation-environment --all
exec-once=dbus-update-activation-environment --systemd --all
#
env=GTK_CSD,0
env=TERM,"kitty /bin/fish"
env=XDG_CURRENT_DESKTOP=Hyprland
env=XDG_SESSION_TYPE=wayland
env=XDG_SESSION_DESKTOP=Hyprland
env=QT_QPA_PLATFORM,wayland
env=QT_WAYLAND_FORCE_DPI,96
env=QT_AUTO_SCREEN_SCALE_FACTOR,0
env=QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env=QT_SCALE_FACTOR,1
# env=XCURSOR_SIZE,24
env=PKG_CONFIG_PATH,/usr/local/lib/pkgconfig
env=LD_LIBRARY_PATH,/usr/local/lib
env=EDITOR,"neovide --novsync --nofork"

View file

@ -2,12 +2,12 @@
bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy
bind=SUPERSHIFTALT,S,exec, grim -g "$(slurp)" $HOME/gits/ost-5semester/Screenshots/$(date +'%Y_%m_%d_%I_%M_%S.png') && (date +'%Y_%m_%d_%I_%M_%S.png') | wl-copy
bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f -
bind=SUPERCONTROLSHIFT,S,exec,grim -g "0,0 3440x1440" - | wl-copy
bind=SUPERCONTROLSHIFT,S,exec,grim -c -g "0,0 3440x1440" - | wl-copy
bind=SUPER,F,exec,firefox
bind=SUPER,T,exec,kitty -1
bind=SUPER,Q,killactive,
bind=SUPERSHIFTALT,M,exit,
bind=SUPER,E,exec,nautilus --new-window
bind=SUPER,E,exec,nautilus -w
bind=SUPER,N,exec,neovide --novsync
bind=SUPER,M,exec,oxidash
bind=SUPER,V,togglefloating,
@ -28,7 +28,8 @@ bind=,XF86MonBrightnessUp,exec, $HOME/.config/scripts/change-brightness brightne
bind=SUPER,D,exec,oxishut
bind=SUPER,A,exec,copyq toggle
bind=SUPERSHIFT,W,togglespecialworkspace
bind=SUPER,W,movetoworkspace,special
# bind=SUPER,W,movetoworkspace,special
bind = SUPER,W,hycov:toggleoverview
binde=SUPER,J,movefocus,l

View file

@ -8,3 +8,15 @@ workspace=DP-3,1
workspace=DP-1,2
workspace=DP-2,3
workspace = 2,monitor:DP-1
workspace = 4,monitor:DP-1
workspace = 6,monitor:DP-1
workspace = 8,monitor:DP-1
workspace = 9,monitor:DP-1
workspace = 10,monitor:DP-1
workspace = 1,monitor:DP-3
workspace = 5,monitor:DP-3
workspace = 3,monitor:DP-2
workspace = 7,monitor:DP-2

View file

@ -0,0 +1,10 @@
plugin = $HOME/.config/hypr/plugins/libhycov.so
plugin {
hycov {
overview_gappo = 30 #gas width from screem
overview_gappi = 10 #gas width from clients
hotarea_size = 0 #hotarea size in bottom left,10x10
enable_hotarea = 0 # enable mouse cursor hotarea
}
}

View file

@ -4,7 +4,11 @@ windowrule=float,^(.*)(OxiCalc)(.*)$
windowrule=float,^(.*)(winecfg.exe)(.*)$
windowrule=float,^(.*)(speed.exe)(.*)$
windowrule=float,^(.*)(copyq)(.*)$
windowrule=center,^(.*)(gnome)(.*)$
windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
# windowrule=center,^(.*)(gnome)(.*)$
# windowrule=size 1200 800,^(org.gnome.NautilusPreviewer)$
windowrule=center,^(.*)(swappy)(.*)$
windowrule=float,title:^(.*)(Spirit)(.*)$
windowrule=workspace 10 silent,^(.*)(steam)(.*)$
windowrule=workspace 9 silent,^(.*)(dota)(.*)$
windowrule=workspace 9 silent,^(.*)(battlebits)(.*)$
windowrule=workspace 9 silent,^(.*)(aoe)(.*)$

View file

@ -0,0 +1,17 @@
exec-once=gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark'
exec-once=gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
monitor=DP-1,3440x1440@180,0x0,1
monitor=DP-2,disable
monitor=DP-3,disable
input {
force_no_accel = true
}
misc {
disable_splash_rendering = true
disable_hyprland_logo = true
}
exec-once=regreet --config /home/dashie/.config/hypr/regreet.toml --style /home/dashie/.config/gtk-3.0/gtk.css; hyprctl dispatch exit

View file

@ -1,6 +1,7 @@
source=~/.config/hypr/conf/env.conf
source=~/.config/hypr/conf/monitor.conf
source=~/.config/hypr/conf/general.conf
source=~/.config/hypr/conf/rules.conf
source=~/.config/hypr/conf/keybinds.conf
source=~/.config/hypr/conf/autostart.conf
source=/home/dashie/.config/hypr/conf/env.conf
source=/home/dashie/.config/hypr/conf/plugins.conf
source=/home/dashie/.config/hypr/conf/monitor.conf
source=/home/dashie/.config/hypr/conf/general.conf
source=/home/dashie/.config/hypr/conf/rules.conf
source=/home/dashie/.config/hypr/conf/keybinds.conf
source=/home/dashie/.config/hypr/conf/autostart.conf

View file

@ -1,55 +1,4 @@
input {
repeat_delay=200
natural_scroll=false
follow_mouse=1
force_no_accel=true
touchpad {
natural_scroll=yes
tap-to-click=yes
}
}
general {
sensitivity=1.0
gaps_in=5
gaps_out=10
border_size=3
col.active_border=0x66ee1111
col.inactive_border=0x66333333
apply_sens_to_raw=0
}
decoration {
rounding=10
blur=1
blur_size=3
blur_passes=1
blur_new_optimizations=true
}
animations {
enabled=1
}
dwindle {
preserve_split=true
pseudotile=0
}
gestures {
}
misc {
animate_manual_resizes = 1
}
bind=SUPERALT,H,exec,alacritty
bind=SUPERALT,T,exec,kitty
bind=SUPERALT,left,movewindow,l
bind=SUPERALT,right,movewindow,r

BIN
hypr_desktop/plugins/libhycov.so Executable file

Binary file not shown.

17
hypr_desktop/regreet.toml Normal file
View file

@ -0,0 +1,17 @@
[background]
# path = "/usr/share/backgrounds/greeter.jpg"
fit = "Contain"
[env]
PATH = "/home/dashie/.config/:$HOME/.local/bin:/home/dashie/.cargo/bin:$PATH"
QT_QPA_PLATFORMTHEME = "qt5ct"
[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Adwaita"
icon_theme_name = "Adwaita"
theme_name = "adw-gtk3"
[commands]
reboot = ["systemctl", "reboot"]
poweroff = ["systemctl", "poweroff"]