aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/configs
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-05 14:02:06 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-05 14:02:06 +0900
commita153022b7d457466db9140c62dc5564f9de7a3af (patch)
treef3eeb3a6d892373678f7d86b3b095583d82aeb96 /config/hypr/configs
parent3fa5c6a5973d0cec5801f5b46da87e8ff2b7ee90 (diff)
changes for new Hyprland-Dots
Diffstat (limited to 'config/hypr/configs')
-rw-r--r--config/hypr/configs/ENVariables.conf4
-rw-r--r--config/hypr/configs/Execs.conf6
-rw-r--r--config/hypr/configs/Keybinds.conf45
-rw-r--r--config/hypr/configs/Settings.conf1
-rw-r--r--config/hypr/configs/WindowRules.conf15
5 files changed, 37 insertions, 34 deletions
diff --git a/config/hypr/configs/ENVariables.conf b/config/hypr/configs/ENVariables.conf
index a705aa70..634036ad 100644
--- a/config/hypr/configs/ENVariables.conf
+++ b/config/hypr/configs/ENVariables.conf
@@ -5,7 +5,7 @@ env = CLUTTER_BACKEND,wayland
env = GDK_BACKEND,wayland,x11
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
-env = QT_QPA_PLATFORMTHEME,qt5ct
+env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_SCALE_FACTOR,1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = XDG_CURRENT_DESKTOP,Hyprland
@@ -16,7 +16,7 @@ env = XDG_SESSION_TYPE,wayland
#env = WLR_RENDERER,vulkan
# firefox
-#env = MOZ_ENABLE_WAYLAND,1
+env = MOZ_ENABLE_WAYLAND,1
# NVIDIA
# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf
index 15bd093a..8c0c4615 100644
--- a/config/hypr/configs/Execs.conf
+++ b/config/hypr/configs/Execs.conf
@@ -15,13 +15,17 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK
# Polkit (Polkit Gnome / KDE)
exec-once = $scriptsDir/Polkit.sh
+#gnome polkit for nixos
+#exec-once = /nix/store/ww65bg045dn4nqcnqprarkfhpzzl30hf-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1
+#exec-once = $scriptsDir/Polkit-NixOS.sh
+
# Portal Hyprland
#exec-once = $scriptsDir/PortalHyprland.sh
# starup apps
exec-once = waybar &
exec-once = dunst &
-exec-once = blueman-applet &
+#exec-once = blueman-applet &
exec-once = nm-applet --indicator &
#exec-once = rog-control-center &
#exec-once = easyeffects --gapplication-service -l my_own
diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf
index 3c0a00a1..26706f23 100644
--- a/config/hypr/configs/Keybinds.conf
+++ b/config/hypr/configs/Keybinds.conf
@@ -3,7 +3,7 @@
$mainMod = SUPER
$files = thunar
$browser = firefox
-$term = foot
+$term = kitty
$hyprDir = $HOME/.config/hypr
$scriptsDir = $HOME/.config/hypr/scripts
@@ -11,53 +11,42 @@ $scriptsDir = $HOME/.config/hypr/scripts
$AirplaneMode = $scriptsDir/AirplaneMode.sh
$backlight = $scriptsDir/Brightness.sh
$ChangeBlur = $scriptsDir/ChangeBlur.sh
-$ChangeLayout = $scriptsDir/ChangeLayout.sh
-$ChangeLayoutMenu = $scriptsDir/ChangeLayoutMenu.sh
-$Clipboard = $scriptsDir/ClipManager.sh
$DarkLight = $scriptsDir/DarkLight.sh
-$GameMode = $scriptsDir/GameMode.sh
-$Help = $scriptsDir/Help.sh
$kbacklight = $scriptsDir/BrightnessKbd.sh
$LidSwitch = $scriptsDir/LidSwitch.sh
$LockScreen = $scriptsDir/LockScreen.sh
$Media = $scriptsDir/MediaCtrl.sh
-$QuickEdit = $scriptsDir/QuickEdit.sh
$screenshot = $scriptsDir/ScreenShot.sh
$touchpad = $scriptsDir/TouchPad.sh
$volume = $scriptsDir/Volume.sh
$wallpaper = $scriptsDir/Wallpaper.sh
-$wallpaperSelect = $scriptsDir/WallpaperSelect.sh
$waybar = $scriptsDir/Waybar.sh
-$waybarStyle = $scriptsDir/WaybarStyles.sh
-$wlogout = $scriptsDir/Wlogout.sh
-$Wofi = $scriptsDir/Wofi.sh
-$WofiBeats = $scriptsDir/WofiBeats.sh
-$WofiBig = $scriptsDir/WofiBig.sh
-$WofiEmoji = $scriptsDir/WofiEmoji.sh
+
+bind = SUPER, Y, exec, rofi -show run -theme
# see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0
bind = $mainMod SHIFT, C, exec, hyprctl reload
-bind = $mainMod SHIFT, D, exec, $WofiBig
-bind = $mainMod, D, exec, $Wofi
+bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi run,drun,filebrowser
+#bind = CTRL, D, exec, pkill rofi || rofi -dmenu
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, Space, togglefloating,
bind = $mainMod, F, fullscreen
bind = $mainMod, Q, killactive,
bind = $mainMod, Return, exec, $term
bind = $mainMod, T, exec, $files
-bind = CTRL ALT, L, exec, $LockScreen
-bind = CTRL ALT, P, exec, $wlogout
-bind = $mainMod CTRL, S, exec, $WofiBeats
-bind = $mainMod ALT, E, exec, $WofiEmoji
+bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh
+bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
+bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh
+bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh
bind = $mainMod, W, exec, $wallpaper swaybg
-bind = $mainMod SHIFT, W, exec, $waybarStyle
-bind = $mainMod CTRL, W, exec, $wallpaperSelect
-bind = $mainMod ALT, W, exec, $ChangeLayoutMenu
-bind = $mainMod, H, exec, $Help
-bind = $mainMod, E, exec, $QuickEdit
+bind = $mainMod SHIFT, W, exec, $scriptsDir/WaybarStyles.sh
+bind = $mainMod CTRL, W, exec, $scriptsDir/WallpaperSelect.sh
+bind = $mainMod ALT, W, exec, $scriptsDir/ChangeLayoutMenu.sh
+bind = $mainMod, H, exec, $scriptsDir/Help.sh
+bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar
-bind = $mainMod SHIFT, G, exec, $GameMode
+bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh
#bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3
#bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d"
@@ -70,8 +59,8 @@ bind = $mainMod, K, layoutmsg, cycleprev
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster
-bind = $mainMod, Space, exec, $ChangeLayout
-bind = $mainMod ALT, V, exec, $Clipboard
+bind = $mainMod, Space, exec, $scriptsDir/ChangeLayout.sh
+bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh
# group
bind = $mainMod, G, togglegroup
diff --git a/config/hypr/configs/Settings.conf b/config/hypr/configs/Settings.conf
index 13d8bf19..46ac85d1 100644
--- a/config/hypr/configs/Settings.conf
+++ b/config/hypr/configs/Settings.conf
@@ -3,6 +3,7 @@
# blurls = waybar
blurls = wofi
+#blurls = rofi
dwindle {
pseudotile = yes
diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf
index 8ca3396b..44a95e40 100644
--- a/config/hypr/configs/WindowRules.conf
+++ b/config/hypr/configs/WindowRules.conf
@@ -3,10 +3,10 @@
windowrule = float, org.kde.polkit-kde-authentication-agent-1
windowrule = float, nm-connection-editor|blueman-manager
-windowrule = float, viewnior|pavucontrol
+windowrule = float, pavucontrol
windowrule = float, nwg-look|qt5ct|mpv
windowrule = float, onedriver|onedriver-launcher
-windowrule = float, swayimg|zoom
+windowrule = float, zoom
windowrule = float, wofi
windowrule = float, gnome-system-monitor
@@ -19,10 +19,13 @@ windowrule = center,^(pavucontrol) # Make sure to delete this line if uncommen t
#windowrule = size 533 533,^(pavucontrol) # These are optionals. But recommended
# windowrule v2
+
+windowrulev2 = float, class:^([Vv]iewnior)$
+
windowrulev2 = workspace 1, class:^(thunderbird)$
windowrulev2 = workspace 2, class:^(firefox)$
windowrulev2 = workspace 2, class:^(Firefox-esr)$
-windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ #this is on arch
+windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$
windowrulev2 = workspace 3, class:^([Tt]hunar)$
windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$
windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$
@@ -33,13 +36,19 @@ windowrulev2 = workspace 7 silent, class:^(WebCord)$
windowrulev2 = workspace 9 silent, class:^(audacious)$
#opacity (transparent) #enable as desired
+windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
windowrulev2 = opacity 0.9 0.7, class:^(firefox)$
windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$
+windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
+windowrulev2 = opacity 0.9 0.7, class:^(gedit)$
#windowrulev2 = opacity 0.8 0.7, class:^(foot)$
#windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$
windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$
windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$
+#layerrule = unset,class:^([Rr]ofi)$
+#layerrule = blur,class:^([Rr]ofi)$
+#layerrule = ignorezero, <rofi>
#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage