Initial Commit
This commit is contained in:
14
.config/hypr/apps.conf
Normal file
14
.config/hypr/apps.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
$terminal = kitty
|
||||
$browser = firefox
|
||||
$discord = vesktop
|
||||
$appMenu = rofi
|
||||
$appMenuOptions = -show drun
|
||||
$windowMenuOptions = -show window
|
||||
$logoutMenu = wlogout
|
||||
$logoutMenuOptions = -b 6
|
||||
$notifications = swaync-client -t
|
||||
$network-tray = nm-applet
|
||||
$bluetooth-tray = blueman-applet
|
||||
$clipboardManager = cliphist
|
||||
$clipboardManagerOptions = list | $appMenu -dmenu | cliphist decode | wl-copy
|
||||
|
||||
2
.config/hypr/getActiveMonitor.sh
Executable file
2
.config/hypr/getActiveMonitor.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
active_workspace= hyprctl activeworkspace | grep "on monitor" | sed 's/.*monitor //' | sed 's/://'
|
||||
echo $active_workspace
|
||||
27
.config/hypr/hypridle.conf
Normal file
27
.config/hypr/hypridle.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
general {
|
||||
lock_cmd = pidof swaylock || swaylock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = brightnessctl -s set 5%
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 660
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
49
.config/hypr/hyprland.conf
Normal file
49
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
#########
|
||||
#monitor#
|
||||
#########
|
||||
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
######
|
||||
#apps#
|
||||
######
|
||||
|
||||
source = ~/.config/hypr/apps.conf
|
||||
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
##########
|
||||
#Keybinds#
|
||||
##########
|
||||
|
||||
source = ~/.config/hypr/keybinds.conf
|
||||
|
||||
###########
|
||||
#Variables#
|
||||
###########
|
||||
|
||||
source = ~/.config/hypr/variables.conf
|
||||
|
||||
#########
|
||||
#Startup#
|
||||
#########
|
||||
|
||||
exec-once = swaync &
|
||||
exec-once = hyprpaper &
|
||||
exec-once = hypridle &
|
||||
exec-once=systemctl --user start plasma-polkit-agent &
|
||||
exec-once=waybar
|
||||
exec-once = $network-tray
|
||||
exec-once = $bluetooth-tray
|
||||
exec-once = wl-clipboard-history -t
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
exec-once = rm "$HOME/.cache/cliphist/db" #it'll delete history at every restart
|
||||
exec-once = $discord --start-minimized
|
||||
|
||||
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
|
||||
4
.config/hypr/hyprpaper.conf
Normal file
4
.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
preload = ~/.config/assets/purple-wallpaper.jpg
|
||||
wallpaper = , ~/.config/assets/purple-wallpaper.jpg
|
||||
|
||||
75
.config/hypr/keybinds.conf
Normal file
75
.config/hypr/keybinds.conf
Normal file
@@ -0,0 +1,75 @@
|
||||
binde=,XF86MonBrightnessDown,exec,brightnessctl set 10%-
|
||||
binde=,XF86MonBrightnessUp,exec,brightnessctl set +10%
|
||||
binde = , XF86AudioRaiseVolume, exec, amixer set Master 5%+
|
||||
binde = , XF86AudioLowerVolume, exec, amixer set Master 5%-
|
||||
bind =, XF86AudioMute, exec, amixer set Master toggle
|
||||
|
||||
bind = $mainMod, N, exec, $notifications
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, D, exec, $discord
|
||||
bind = $mainMod, A, exec, pidof $appMenu || $appMenu $appMenuOptions
|
||||
bind = $mainMod, W, exec, pidof $appMenu || $appMenu $windowMenuOptions
|
||||
|
||||
bind = $mainMod, BackSpace, exec, pidof $logoutMenu || $logoutMenu $logoutMenuOptions
|
||||
|
||||
bind=$mainMod CTRL,C,exec,pidof $clipboardManager || $clipboardManager $clipboardManagerOptions
|
||||
|
||||
bind = ALT, Tab, cyclenext,
|
||||
bind = ALT SHIFT, Tab, cyclenext, prev
|
||||
bind = ALT, h, movefocus, l
|
||||
bind = ALT, j, movefocus, d
|
||||
bind = ALT, k, movefocus, u
|
||||
bind = ALT, l, movefocus, r
|
||||
|
||||
bindm = $mainMod, Z, movewindow
|
||||
bindm = $mainMod, R, resizewindow
|
||||
bind = $mainMod, V, togglefloating
|
||||
bind = $mainMod, M, fullscreen, 1
|
||||
bind = $mainMod SHIFT, M, fullscreen
|
||||
|
||||
bind = $mainMod, S, togglespecialworkspace
|
||||
|
||||
bind = $mainMod, Tab, workspace, m+1
|
||||
bind = $mainMod SHIFT, Tab, workspace, m-1
|
||||
|
||||
bind = $mainMod, ampersand, workspace, 1
|
||||
bind = $mainMod, eacute, workspace, 2
|
||||
bind = $mainMod, quotedbl, workspace, 3
|
||||
bind = $mainMod, apostrophe, workspace, 4
|
||||
bind = $mainMod, parenleft, workspace, 5
|
||||
bind = $mainMod, minus, workspace, 6
|
||||
bind = $mainMod, egrave, workspace, 7
|
||||
bind = $mainMod, underscore, workspace, 8
|
||||
bind = $mainMod, ccedilla, workspace, 9
|
||||
|
||||
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, minus, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special
|
||||
|
||||
bind = $mainMod CTRL, ampersand, movetoworkspacesilent, 1
|
||||
bind = $mainMod CTRL, eacute, movetoworkspacesilent, 2
|
||||
bind = $mainMod CTRL, quotedbl, movetoworkspacesilent, 3
|
||||
bind = $mainMod CTRL, apostrophe, movetoworkspacesilent, 4
|
||||
bind = $mainMod CTRL, parenleft, movetoworkspacesilent, 5
|
||||
bind = $mainMod CTRL, minus, movetoworkspacesilent, 6
|
||||
bind = $mainMod CTRL, egrave, movetoworkspacesilent, 7
|
||||
bind = $mainMod CTRL, underscore, movetoworkspacesilent, 8
|
||||
bind = $mainMod CTRL, ccedilla, movetoworkspacesilent, 9
|
||||
bind = $mainMod CTRL, S, movetoworkspacesilent, special
|
||||
|
||||
bind = , Print, exec, eval hyprshot -m output -m $($HOME/.config/hypr/getActiveMonitor.sh) --clipboard-only
|
||||
bind = SHIFT, Print, exec, hyprshot --mode=window --clipboard-only
|
||||
bind = CTRL, Print, exec, hyprshot --mode=region --clipboard-only
|
||||
bind = $mainMod, Print, exec, eval hyprshot -m output -m $($HOME/.config/hypr/getActiveMonitor.sh)
|
||||
bind = $mainMod SHIFT, Print, exec, hyprshot --mode=window
|
||||
bind = $mainMod CTRL, Print, exec, hyprshot --mode=region
|
||||
|
||||
65
.config/hypr/variables.conf
Normal file
65
.config/hypr/variables.conf
Normal file
@@ -0,0 +1,65 @@
|
||||
general {
|
||||
border_size = 3
|
||||
no_border_on_floating = false
|
||||
gaps_in = 5
|
||||
gaps_out = 15
|
||||
gaps_workspaces = 0
|
||||
allow_tearing = true
|
||||
|
||||
col.active_border=0xcdd6f4ff
|
||||
col.inactive_border=0xb4befecc
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.9
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 8
|
||||
offset = 1 1
|
||||
}
|
||||
#
|
||||
# #TODO BLUR
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout = fr
|
||||
kb_options = caps:swapescape
|
||||
|
||||
numlock_by_default = true
|
||||
|
||||
sensitivity = 0
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
disable_while_typing = false
|
||||
clickfinger_behavior = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
misc {
|
||||
animate_manual_resizes = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
cursor {
|
||||
warp_on_change_workspace = true
|
||||
allow_dumb_copy = true
|
||||
}
|
||||
|
||||
env = HYPRCURSOR_THEME,catppuccin-mocha-lavender-cursors
|
||||
env = HYPRCURSOR_SIZE,32
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme catppuccin-mocha-lavender-cursors
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-size 32
|
||||
|
||||
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
|
||||
Reference in New Issue
Block a user