From 9e22d194d828d3d2cd1d619e75110c28c0181b4c Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 2 Oct 2023 13:20:24 +0200 Subject: [PATCH] Updates --- gtk/gtk-3.0/settings.ini | 4 ++-- hypr/conf/keybindings.conf | 3 +++ hypr/gtk.sh | 16 ++++------------ hypr/hyprland.conf | 10 +++++----- 4 files changed, 14 insertions(+), 19 deletions(-) diff --git a/gtk/gtk-3.0/settings.ini b/gtk/gtk-3.0/settings.ini index 4cc4ca8..31f643d 100644 --- a/gtk/gtk-3.0/settings.ini +++ b/gtk/gtk-3.0/settings.ini @@ -1,6 +1,6 @@ [Settings] -gtk-theme-name=kora -gtk-icon-theme-name=kora +gtk-theme-name="Breeze-Dark" +gtk-icon-theme-name="kora" gtk-font-name=Cantarell 11 gtk-cursor-theme-name="Bibata-Modern-Classic" gtk-cursor-theme-size=0 diff --git a/hypr/conf/keybindings.conf b/hypr/conf/keybindings.conf index 3f9c7a5..8053da5 100644 --- a/hypr/conf/keybindings.conf +++ b/hypr/conf/keybindings.conf @@ -58,6 +58,9 @@ bind = $mainMod SHIFT, left, resizeactive, -100 0 bind = $mainMod SHIFT, up, resizeactive, 0 -100 bind = $mainMod SHIFT, down, resizeactive, 0 100 +binde = , XF86MonBrightnessUp, exec, brightnessctl set 100% +binde = , XF86MonBrightnessDown, exec, brightnessctl set 70% + # ----------------------------------------------------- # Passthrough SUPER KEY to Virtual Machine # ----------------------------------------------------- diff --git a/hypr/gtk.sh b/hypr/gtk.sh index 735fcc1..372ab62 100755 --- a/hypr/gtk.sh +++ b/hypr/gtk.sh @@ -1,18 +1,10 @@ #!/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" +gsettings set "$gnome_schema" gtk-theme "Breeze-Dark" +gsettings set "$gnome_schema" icon-theme "kora" +gsettings set "$gnome_schema" cursor-theme "Bibata-Modern-Classic" +gsettings set "$gnome_schema" font-name "Cantarell 11" gsettings set org.gnome.desktop.interface color-scheme prefer-dark diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 04996ba..a42ea0b 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -18,22 +18,22 @@ env = WLR_RENDERER_ALLOW_SOFTWARE, 1 # Monitor Setup # See https://wiki.hyprland.org/Configuring/Monitors/ # ----------------------------------------------------- -monitor=,2560x1440@120,auto,1 +# monitor=,2560x1440@120,auto,1 # monitor=,preferred,auto,1 -# monitor=,1920x1080,auto,1 +monitor=,1920x1080,auto,1 # ----------------------------------------------------- # Autostart # ----------------------------------------------------- exec-once = swww init -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP -exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dunst exec-once = ~/dotfiles/scripts/lockscreentime.sh exec-once = ~/dotfiles/scripts/updatewal-swww.sh exec-once = ~/dotfiles/hypr/gtk.sh -exec-once = ~/dotfiles/waybar/launch.sh exec-once = hyprctl setcursor Bibata-Modern-Classic 24 +exec-once = ~/dotfiles/waybar/launch.sh exec-once = wl-paste --watch cliphist store # -----------------------------------------------------