Updates
This commit is contained in:
15
hypr/gtk.sh
Executable file
15
hypr/gtk.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# usage: import-gsettings
|
||||
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
|
||||
if [ ! -f "$config" ]; then exit 1; fi
|
||||
|
||||
gnome_schema="org.gnome.desktop.interface"
|
||||
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
|
||||
gsettings set "$gnome_schema" icon-theme "$icon_theme"
|
||||
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
|
||||
gsettings set "$gnome_schema" font-name "$font_name"
|
||||
@@ -21,6 +21,7 @@ exec-once = waybar
|
||||
exec-once = swww init
|
||||
exec-once = ~/dotfiles/scripts/updatewal-swww.sh
|
||||
exec-once = dunst
|
||||
exec-once = ~/dotfiles/hypr/gtk.sh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Load pywal color file
|
||||
@@ -73,6 +74,10 @@ decoration {
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.9
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
@@ -121,8 +126,7 @@ device:epic-mouse-v1 {
|
||||
# -----------------------------------------------------
|
||||
# Window rules
|
||||
# -----------------------------------------------------
|
||||
windowrule = tile,title:^(Outlook)(.*)$
|
||||
windowrule = tile,title:^(Microsoft)(.*)$
|
||||
windowrule = tile,^(Brave-browser)$
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Key bindings
|
||||
@@ -130,6 +134,7 @@ windowrule = tile,title:^(Microsoft)(.*)$
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, RETURN, exec, alacritty
|
||||
bind = $mainMod, Q, killactive
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod CTRL, Q, exec, ~/dotfiles/scripts/powermenu-hypr.sh
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, T, togglefloating
|
||||
@@ -143,6 +148,7 @@ bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = $mainMod, PRINT, exec, ~/dotfiles/scripts/grim.sh
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
|
||||
Reference in New Issue
Block a user