up su Gitea
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$background = rgba(151218ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$error = rgba(ffb4abff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$error_container = rgba(93000aff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$inverse_on_surface = rgba(322f35ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$inverse_primary = rgba(69548dff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$inverse_surface = rgba(e7e0e8ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_background = rgba(e7e0e8ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_error = rgba(690005ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_error_container = rgba(ffdad6ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_primary = rgba(3a255bff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_primary_container = rgba(ecdcffff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_primary_fixed = rgba(240e45ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_primary_fixed_variant = rgba(513c73ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_secondary = rgba(342d40ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_secondary_container = rgba(eadef7ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_secondary_fixed = rgba(1f182aff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_secondary_fixed_variant = rgba(4b4357ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_surface = rgba(e7e0e8ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_surface_variant = rgba(cbc4cfff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_tertiary = rgba(4a252fff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_tertiary_container = rgba(ffd9e0ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_tertiary_fixed = rgba(32101aff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$on_tertiary_fixed_variant = rgba(643b45ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$outline = rgba(958e99ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$outline_variant = rgba(49454eff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$primary = rgba(d4bbfcff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$primary_container = rgba(513c73ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$primary_fixed = rgba(ecdcffff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$primary_fixed_dim = rgba(d4bbfcff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$scrim = rgba(000000ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$secondary = rgba(cec2dbff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$secondary_container = rgba(4b4357ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$secondary_fixed = rgba(eadef7ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$secondary_fixed_dim = rgba(cec2dbff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$shadow = rgba(000000ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$source_color = rgba(533d78ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface = rgba(151218ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_bright = rgba(3b383eff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_container = rgba(211e24ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_container_high = rgba(2c292fff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_container_highest = rgba(37343aff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_container_low = rgba(1d1a20ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_container_lowest = rgba(0f0d12ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_dim = rgba(151218ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_tint = rgba(d4bbfcff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$surface_variant = rgba(49454eff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$tertiary = rgba(f1b7c3ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$tertiary_container = rgba(643b45ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$tertiary_fixed = rgba(ffd9e0ff)
|
||||
|
||||
$image = /home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
$tertiary_fixed_dim = rgba(f1b7c3ff)
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = been, 0.24, 0.9, 0.25, 0.91
|
||||
bezier = been2, 0,0.94,0.5,0.99
|
||||
bezier = menu_decel, 0.1, 1, 0, 1
|
||||
bezier = linear, 0.0, 0.0, 1.0, 1.0
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = slow, 0, 0.85, 0.3, 1
|
||||
bezier = overshot, 0.7, 0.6, 0.1, 1.1
|
||||
bezier = bounce, 1.1, 1.6, 0.1, 0.85
|
||||
bezier = sligshot, 1, -1, 0.15, 1.25
|
||||
bezier = nice, 0, 6.9, 0.5, -4.20
|
||||
|
||||
animation = windowsIn, 1, 5, slow, popin
|
||||
animation = windowsOut, 1, 7, been, popin 70%
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, linear
|
||||
animation = fade, 1, 5, overshot
|
||||
animation = workspaces, 1, 5, wind
|
||||
animation = windows, 1, 5, bounce, popin
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
accel_profile=flat
|
||||
follow_mouse=1
|
||||
force_no_accel=1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod SHIFT, RETURN, exec, [float; size 800 550] $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 # exit Hyprland
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, Space, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, R, exec, ~/.config/hypr/scripts/wbrestart.sh
|
||||
bind = $mainMod, B, exec, xdg-open "https://" # default browser
|
||||
bind = $mainMod, L, exec, ~/.config/hypr/scripts/hyprlock.sh
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||
bind = $mainMod, W, exec, ~/.config/hypr/scripts/wppicker.sh
|
||||
bind = $mainMod SHIFT, Q, exec, ~/.config/hypr/scripts/KillActiveProcess.sh # Kill active process
|
||||
bind = $mainMod, C, exec, hyprpicker -a
|
||||
bind = $mainMod CTRL, B, exec, ~/.config/hypr/scripts/WaybarStyles.sh # Waybar Styles Menu
|
||||
bind = $mainMod ALT, B, exec, ~/.config/hypr/scripts/WaybarLayout.sh # Waybar Layout Menu
|
||||
bind = $mainMod, H, exec, pkill -SIGUSR1 waybar # Hide Waybar
|
||||
bind = $mainMod SHIFT, E, exec, kitty yazi # Yazi File Manager
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move Windows
|
||||
bind = $mainMod CTRL, left, movewindow, l
|
||||
bind = $mainMod CTRL, right, movewindow, r
|
||||
bind = $mainMod CTRL, up, movewindow, u
|
||||
bind = $mainMod CTRL, down, movewindow, d
|
||||
|
||||
# Resize windows
|
||||
binde = $mainMod SHIFT, left, resizeactive,-50 0
|
||||
binde = $mainMod SHIFT, right, resizeactive,50 0
|
||||
binde = $mainMod SHIFT, up, resizeactive,0 -50
|
||||
binde = $mainMod SHIFT, down, resizeactive,0 50
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
#bind = $mainMod, S, togglespecialworkspace, magic
|
||||
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/volume.sh --inc
|
||||
bindel = ,XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/volume.sh --dec
|
||||
bindel = ,XF86AudioMute, exec, ~/.config/hypr/scripts/volume.sh --toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/brightness.sh --inc
|
||||
bindel = ,XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/brightness.sh --dec
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
|
||||
border_size = 2
|
||||
|
||||
# col.active_border = $outline
|
||||
col.active_border = $primary $secondary 45deg
|
||||
col.inactive_border = $outline_variant
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
shadow {
|
||||
enabled = false
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 3
|
||||
ignore_opacity = true
|
||||
new_optimizations = true
|
||||
special = false
|
||||
popups = true
|
||||
xray = true
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
windowrule = match:class ^(mpv|vlc)$, tag +multimedia_video
|
||||
windowrule = match:class ^(nm-applet|nm-connection-editor|blueman-manager|org.gnome.FileRoller)$, tag +settings
|
||||
|
||||
windowrule = match:class ^(org.gnome.DiskUtility|wihotspot(-gui)?)$, tag +settings
|
||||
|
||||
|
||||
#windowrule = tag, +multimedia_video, class:(mpv|vlc)$
|
||||
|
||||
|
||||
#windowrule = tag +settings, class:^(nm-applet|nm-connection-editor|blueman-manager|org.gnome.FileRoller)$
|
||||
#windowrule = tag +settings, class:^(org.gnome.DiskUtility|wihotspot(-gui)?)$
|
||||
#windowrule = tag +viewer, class:^(org.gnome.SystemMonitor)$ # system monitor
|
||||
#windowrule = tag +viewer, class:^(org.gnome.Evince)$ # document viewer
|
||||
#windowrule = tag +viewer, class:^(eog|org.gnome.Loupe)$ # image viewer
|
||||
@@ -0,0 +1,41 @@
|
||||
# APPLICATIONS OPACITY
|
||||
# windowrule = opacity 0.8 override, match:class ^(org.gnome.Nautilus)$
|
||||
windowrule = opacity 0.9 override, match:class ^(gedit|org.gnome.TextEditor|mousepad)$
|
||||
windowrule = opacity 0.9 override, match:class ^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = opacity 0.9 override, match:class ^(kitty)$
|
||||
windowrule = opacity 0.85 override 0.7 override 1 override, match:class ^(discord|vesktop|org.telegram.desktop)$
|
||||
windowrule = opacity 0.8 override 0.6 override 1 override, match:class ^(Spotify)$
|
||||
windowrule = opacity 0.9 override 0.7 override 1 override, match:class ^(zen)$
|
||||
|
||||
windowrule = opacity 1.0 override 1 override 1 override, match:class ^(zen-twilight)$
|
||||
|
||||
|
||||
|
||||
# FLOAT & SIZE
|
||||
windowrule = size 900 506, float on, match:tag multimedia_video*
|
||||
windowrule = float on, size 50% 60%, match:class ^(org.pulseaudio.pavucontrol)$
|
||||
|
||||
# Ignore maximize requests
|
||||
windowrule = suppress_event maximize, match:class .*
|
||||
|
||||
## Fix XWayland dragging
|
||||
#windowrule = no_focus on, match:class ^$,title ^$,xwayland 1,float 1,fullscreen 0,pin 0
|
||||
#
|
||||
## POP UPS AND DIALOGUES
|
||||
#
|
||||
#windowrulev2 = size 50%% 60%%, float, center, title:^(Save As|Save a File|Pick Files)$
|
||||
#windowrulev2 = size 70%% 60%%, float, initialTitle:^(Open Files)$
|
||||
#
|
||||
# WAYBAR
|
||||
layerrule = blur on, ignore_alpha 0.5, match:namespace waybar
|
||||
|
||||
# NOTIFICATIONS
|
||||
layerrule = ignore_alpha 0.5, match:namespace tag:notif*
|
||||
|
||||
# LOGOUT
|
||||
layerrule = blur on, match:namespace logout_dialog
|
||||
|
||||
# SWAYNC
|
||||
layerrule = blur on, ignore_alpha on, ignore_alpha 0.5, xray 0, match:namespace swaync-control-center
|
||||
layerrule = blur on, ignore_alpha on, ignore_alpha 0.5, xray 0, match:namespace swaync-notification-window
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
# APPLIACTIONS BLUR
|
||||
#windowrule = noblur , tag:multimedia_video*
|
||||
#windowrule = opacity 1.0, tag:multimedia_video*
|
||||
#windowrule = opacity 0.8, tag:settings*
|
||||
windowrule = opacity 0.8, class: ^(org.gnome.Nautilus)$
|
||||
windowrule = opacity 0.9, class:^(gedit|org.gnome.TextEditor|mousepad)$
|
||||
windowrule = opacity 0.9, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = opacity 0.9, class:^(kitty)$
|
||||
windowrule = opacity 0.85 override 0.7 override 1 override, class:^(discord|vesktop|org.telegram.desktop)$
|
||||
windowrule = opacity 0.8 override 0.6 override 1 override, class:^(Spotify)$
|
||||
windowrule = opacity 0.9 override 0.7 override 1 override, class:^(zen)$
|
||||
#windowrule = opacity 0.8 override 0.6 override 1 override, tag:viewer*
|
||||
|
||||
# LAYER RULES
|
||||
#layerrule = blur, rofi
|
||||
#layerrule = ignorezero, rofi
|
||||
#layerrule = ignorealpha 0.5, rofi
|
||||
#layerrule = dimaround, rofi
|
||||
#layerrule = animation popin 10%, rofi
|
||||
#layerrule = blur, notifications
|
||||
#layerrule = ignorezero, notifications
|
||||
layerrule = blur, waybar
|
||||
#layerrule = ignorezero, waybar
|
||||
layerrule = ignorealpha 0.5, waybar
|
||||
layerrule = ignorealpha 0.5, tag:notif*
|
||||
layerrule = blur, logout_dialog
|
||||
|
||||
# SWAYNC BLUR & XRAY
|
||||
layerrule = blur, swaync-control-center
|
||||
layerrule = blur, swaync-notification-window
|
||||
layerrule = ignorezero, swaync-control-center
|
||||
layerrule = ignorezero, swaync-notification-window
|
||||
layerrule = ignorealpha 0.5, swaync-control-center
|
||||
layerrule = ignorealpha 0.5, swaync-notification-window
|
||||
layerrule = xray 0, swaync-control-center
|
||||
layerrule = xray 0, swaync-notification-window
|
||||
|
||||
#FLOAT
|
||||
#windowrule = float, tag:settings*
|
||||
#windowrule = float, tag:viewer*
|
||||
#windowrule = float, tag:multimedia_video*
|
||||
windowrule = size 900 506, tag:multimedia_video*
|
||||
windowrule = float, class:^(org.pulseaudio.pavucontrol)$
|
||||
windowrule = size 50% 60%, class:^(org.pulseaudio.pavucontrol)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
# POP UPS AND DIALOGUES
|
||||
windowrule = float, title:^(Save As|Save a File|Pick Files)$
|
||||
windowrule = size 50% 60%, title:^(Save As|Save a File|Pick Files)$
|
||||
windowrule = center, title:^(Save As|Save a File|Pick Files)$
|
||||
|
||||
windowrule = float, initialTitle:(Open Files)
|
||||
windowrule = size 70% 60%, initialTitle:(Open Files)
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
/home/sinsa/Pictures/wallpapers/viola-casa.jpg
|
||||
@@ -0,0 +1,35 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
# unlock_cmd = /home/sinsa/.local/bin/eduroamcondizionale
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = brightnessctl -r # monitor backlight restore.
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
@@ -0,0 +1,450 @@
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPRLAND CONFIG.
|
||||
# EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
|
||||
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hypr.land/Configuring/
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
source = colors.conf
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Monitors/
|
||||
monitor= eDP-1, 3072x1920@60, auto, auto
|
||||
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = nautilus
|
||||
# $menu = hyprlauncher
|
||||
$menu = rofi -show drun
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper
|
||||
# exec-once = nm-applet
|
||||
exec-once = awww-daemon
|
||||
# exec-once = blueman-applet
|
||||
exec-once = swaync
|
||||
# exec-once = hyprpanel
|
||||
# exec-once = hyprpaper
|
||||
# exec-once = ashell & hyprpaper
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
#exec-once = nextcloud
|
||||
exec-once =/usr/bin/nextcloud --background
|
||||
exec-once = hypridle
|
||||
exec-once = /home/sinsa/.local/bin/eduroamcondizionale
|
||||
exec-once = sleep 0.5 ; waybar -c /home/sinsa/.config/waybar/configs/default -s /home/sinsa/.config/waybar/style/islands.css >> $HOME/.local/log/waybar.log
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --watch cliphist store
|
||||
exec-once = vorta -d
|
||||
exec-once = syncthing
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
|
||||
###################
|
||||
### PERMISSIONS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Permissions/
|
||||
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
|
||||
# for security reasons
|
||||
|
||||
# ecosystem {
|
||||
# enforce_permissions = 1
|
||||
# }
|
||||
|
||||
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
|
||||
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
|
||||
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
source= ~/.config/hypr/configs/looknfeel.conf
|
||||
|
||||
|
||||
# ANIMATION
|
||||
source= ~/.config/hypr/configs/UserAnimations.conf
|
||||
|
||||
|
||||
|
||||
|
||||
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
||||
# "Smart gaps" / "No gaps when only"
|
||||
# uncomment all if you wish to use that.
|
||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||
# workspace = f[1], gapsout:0, gapsin:0
|
||||
# windowrule {
|
||||
# name = no-gaps-wtv1
|
||||
# match:float = false
|
||||
# match:workspace = w[tv1]
|
||||
#
|
||||
# border_size = 0
|
||||
# rounding = 0
|
||||
# }
|
||||
#
|
||||
# windowrule {
|
||||
# name = no-gaps-f1
|
||||
# match:float = false
|
||||
# match:workspace = f[1]
|
||||
#
|
||||
# border_size = 0
|
||||
# rounding = 0
|
||||
# }
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
}
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-system-control
|
||||
kb_layout = us
|
||||
}
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = it
|
||||
# kb_variant = intl
|
||||
# kb_model =
|
||||
# kb_options =
|
||||
# kb_rules =
|
||||
follow_mouse = 1
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
clickfinger_behavior = 0
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-system-control
|
||||
kb_layout = us
|
||||
kb_variant = intl,
|
||||
|
||||
}
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-keyboard
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
}
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-consumer-control
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
}
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
device {
|
||||
name = at-translated-set-2-keyboard
|
||||
kb_layout = it
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
#input {
|
||||
# kb_layout = us
|
||||
# kb_variant = intl
|
||||
# device = royuan-rt100-wired-keyboard
|
||||
#}
|
||||
#
|
||||
|
||||
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Gestures
|
||||
|
||||
# -------- GESTURES ---------
|
||||
|
||||
# gesture = 3, horizontal, workspace
|
||||
gesture = 3, swipe, move
|
||||
gesture = 4, vertical, fullscreen, maximize
|
||||
gesture = 4, horizontal, workspace
|
||||
gesture = 3, pinchout, float
|
||||
gesture = 3, pinchin, float
|
||||
|
||||
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, RETURN, exec, export PATH="$HOME/.local/bin:$PATH" && $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
# bind = $mainMod, J, layoutmsg # dwindle
|
||||
bind = $mainMod, J, layoutmsg, togglesplit
|
||||
bind = $mainMod, N, exec, $HOME/.local/bin/hyprltm-net
|
||||
bind = $mainMod, W, exec, /home/sinsa/.config/hypr/scripts/rw.sh
|
||||
bind = $mainMod, O, exec, pkill waybar
|
||||
bind = $mainMod SHIFT, O, exec, waybar -c $HOME/.config/waybar/configs/default -s $HOME/.config/waybar/style/islands.css
|
||||
#OPEN COPY PASTE HYSTORY
|
||||
|
||||
bind = $mainMod SHIFT, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
|
||||
|
||||
# CONNECT AUTOMATICALLY TO EDUROAM
|
||||
|
||||
bind = $mainMod, L, exec, $HOME/.local/bin/eduroam
|
||||
|
||||
|
||||
# SWITCH KEYBOARD LAYOUT
|
||||
# WIP!!!
|
||||
# bind = $mainMod, space,
|
||||
|
||||
|
||||
bind = $mainMod, Z, exec, $HOME/.local/bin/zen-twilight
|
||||
|
||||
|
||||
|
||||
binde = SUPER SHIFT, 201, exec, notify-send hello
|
||||
|
||||
|
||||
# Fullscreen window
|
||||
|
||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||
bind = $mainMod , F, fullscreen, 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
bind = $mainMod CTRL, left, workspace, r-1
|
||||
|
||||
bind = $mainMod CTRL, right, workspace, r+1
|
||||
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
bind = $mainMod CTRL SHIFT, left, movetoworkspace, r-1
|
||||
bind = $mainMod CTRL SHIFT, right, movetoworkspace, r+1
|
||||
|
||||
# Move window
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow,r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
|
||||
# Resize window
|
||||
|
||||
binde = $mainMod ALT, right, resizeactive, 10 0
|
||||
binde = $mainMod ALT, left, resizeactive, -10 0
|
||||
binde = $mainMod ALT, up, resizeactive, 0 -10
|
||||
binde = $mainMod ALT, down, resizeactive, 0 10
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
# bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
|
||||
bind = , Print, exec, hyprshot -m region -o /home/sinsa/Pictures/Screenshots/
|
||||
bind = $mainMod ,Print, exec, hyprshot -zm region --clipboard-only -o /home/sinsa/Pictures/Screenshots/
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
|
||||
bindel = ,XF86AudioRaiseVolume, exec, $HOME/.config/hypr/scripts/volume.sh --inc
|
||||
bindel = ,XF86AudioLowerVolume, exec, $HOME/.config/hypr/scripts/volume.sh --dec
|
||||
bindel = ,XF86AudioMute, exec, $HOME/.config/hypr/scripts/volume.sh --toggle
|
||||
bindel = ,XF86AudioMicMute, exec, $HOME/.config/hypr/scripts/volume.sh --toggle-mic
|
||||
bindel = ,XF86MonBrightnessUp, exec, $HOME/.config/hypr/scripts/brightness.sh --inc
|
||||
bindel = ,XF86MonBrightnessDown, exec, $HOME/.config/hypr/scripts/brightness.sh --dec
|
||||
|
||||
#bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
#bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
#bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
#bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
#bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
||||
#bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
|
||||
# Lock
|
||||
bindl=,switch:Lid Switch, exec, hyprlock
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
|
||||
|
||||
### TAGS ###
|
||||
source= ~/.config/hypr/configs/tags.conf
|
||||
|
||||
# Example windowrules that are useful
|
||||
|
||||
### WINDOWRULES AND LAYERRULES ###
|
||||
source = ~/.config/hypr/configs/windowrules.conf
|
||||
|
||||
#windowrule {
|
||||
# # Ignore maximize requests from all apps. You'll probably like this.
|
||||
# name = suppress-maximize-events
|
||||
# match:class = .*
|
||||
#
|
||||
# suppress_event = maximize
|
||||
#}
|
||||
#
|
||||
#windowrule {
|
||||
# # Fix some dragging issues with XWayland
|
||||
# name = fix-xwayland-drags
|
||||
# match:class = ^$
|
||||
# match:title = ^$
|
||||
# match:xwayland = true
|
||||
# match:float = true
|
||||
# match:fullscreen = false
|
||||
# match:pin = false
|
||||
#
|
||||
# no_focus = true
|
||||
#}
|
||||
#
|
||||
## Hyprland-run windowrule
|
||||
#windowrule {
|
||||
# name = move-hyprland-run
|
||||
#
|
||||
# match:class = hyprland-run
|
||||
#
|
||||
# move = 20 monitor_h-120
|
||||
# float = yes
|
||||
#}
|
||||
@@ -0,0 +1,480 @@
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPRLAND CONFIG.
|
||||
# EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
|
||||
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hypr.land/Configuring/
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Monitors/
|
||||
monitor= DP-1, 3072x1920@140, auto, auto
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = nautilus
|
||||
# $menu = hyprlauncher
|
||||
$menu = rofi -show drun
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper
|
||||
# exec-once = nm-applet
|
||||
exec-once = waybar -c /home/sinsa/.config/waybar/configs/default -s /home/sinsa/.config/waybar/style/islands.css
|
||||
exec-once = swww-daemon
|
||||
exec-once = blueman-applet
|
||||
exec-once = swaync
|
||||
# exec-once = hyprpanel
|
||||
# exec-once = hyprpaper
|
||||
# exec-once = ashell & hyprpaper
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
exec-once = nextcloud
|
||||
exec-once = hypridle
|
||||
exec-once = /home/sinsa/.local/bin/eduroamcondizionale
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
|
||||
###################
|
||||
### PERMISSIONS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Permissions/
|
||||
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
|
||||
# for security reasons
|
||||
|
||||
# ecosystem {
|
||||
# enforce_permissions = 1
|
||||
# }
|
||||
|
||||
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
|
||||
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
|
||||
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
# Refer to https://wiki.hypr.land/Configuring/Variables/
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
|
||||
|
||||
# CIANO TO BLU
|
||||
# col.active_border = rgba(00ffffff) rgba(57a7e6ff) 45deg
|
||||
|
||||
|
||||
col.active_border = rgba(00bbffff) rgba(57a7e6ff) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true
|
||||
|
||||
# Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#animations
|
||||
animations {
|
||||
enabled = yes, please :)
|
||||
|
||||
# Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
|
||||
# NAME, X0, Y0, X1, Y1
|
||||
bezier = easeOutQuint, 0.23, 1, 0.32, 1
|
||||
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
bezier = almostLinear, 0.5, 0.5, 0.75, 1
|
||||
bezier = quick, 0.15, 0, 0.1, 1
|
||||
|
||||
# Default animations, see https://wiki.hypr.land/Configuring/Animations/
|
||||
# NAME, ONOFF, SPEED, CURVE, [STYLE]
|
||||
animation = global, 1, 10, default
|
||||
animation = border, 1, 5.39, easeOutQuint
|
||||
animation = windows, 1, 4.79, easeOutQuint
|
||||
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
|
||||
animation = windowsOut, 1, 1.49, linear, popin 87%
|
||||
animation = fadeIn, 1, 1.73, almostLinear
|
||||
animation = fadeOut, 1, 1.46, almostLinear
|
||||
animation = fade, 1, 3.03, quick
|
||||
animation = layers, 1, 3.81, easeOutQuint
|
||||
animation = layersIn, 1, 4, easeOutQuint, fade
|
||||
animation = layersOut, 1, 1.5, linear, fade
|
||||
animation = fadeLayersIn, 1, 1.79, almostLinear
|
||||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||
animation = workspaces, 1, 1.94, almostLinear, fade
|
||||
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
||||
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
||||
animation = zoomFactor, 1, 7, quick
|
||||
}
|
||||
|
||||
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
||||
# "Smart gaps" / "No gaps when only"
|
||||
# uncomment all if you wish to use that.
|
||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||
# workspace = f[1], gapsout:0, gapsin:0
|
||||
# windowrule {
|
||||
# name = no-gaps-wtv1
|
||||
# match:float = false
|
||||
# match:workspace = w[tv1]
|
||||
#
|
||||
# border_size = 0
|
||||
# rounding = 0
|
||||
# }
|
||||
#
|
||||
# windowrule {
|
||||
# name = no-gaps-f1
|
||||
# match:float = false
|
||||
# match:workspace = f[1]
|
||||
#
|
||||
# border_size = 0
|
||||
# rounding = 0
|
||||
# }
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
}
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-system-control
|
||||
kb_layout = us
|
||||
}
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = it
|
||||
# kb_variant = intl
|
||||
# kb_model =
|
||||
# kb_options =
|
||||
# kb_rules =
|
||||
follow_mouse = 1
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
clickfinger_behavior = 0
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-system-control
|
||||
kb_layout = us
|
||||
kb_variant = intl,
|
||||
|
||||
kb_options = altwin:swap_alt_win, nodeadkeys
|
||||
}
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-keyboard
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
kb_options = altwin:swap_alt_win, nodeadkeys
|
||||
}
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired-consumer-control
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
kb_options = altwin:swap_alt_win, nodeadkeys
|
||||
}
|
||||
|
||||
|
||||
device {
|
||||
name = royuan-rt100-wired
|
||||
kb_layout = us
|
||||
kb_variant = intl
|
||||
kb_options = altwin:swap_alt_win, nodeadkeys
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
device {
|
||||
name = at-translated-set-2-keyboard
|
||||
kb_layout = it
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
#input {
|
||||
# kb_layout = us
|
||||
# kb_variant = intl
|
||||
# device = royuan-rt100-wired-keyboard
|
||||
#}
|
||||
#
|
||||
|
||||
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Gestures
|
||||
|
||||
# -------- GESTURES ---------
|
||||
|
||||
# gesture = 3, horizontal, workspace
|
||||
gesture = 3, swipe, move
|
||||
gesture = 4, vertical, fullscreen, maximize
|
||||
gesture = 4, horizontal, workspace
|
||||
gesture = 3, pinchout, float
|
||||
gesture = 3, pinchin, float
|
||||
|
||||
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, RETURN, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, layoutmsg # dwindle
|
||||
bind = $mainMod, N, exec, $HOME/.local/bin/hyprltm-net
|
||||
bind = $mainMod, W, exec, /home/sinsa/.config/hypr/scripts/rw.sh
|
||||
|
||||
# CONNECT AUTOMATICALLY TO EDUROAM
|
||||
|
||||
bind = $mainMod, L, exec, $HOME/.local/bin/eduroam
|
||||
|
||||
|
||||
# SWITCH KEYBOARD LAYOUT
|
||||
# WIP!!!
|
||||
# bind = $mainMod, space,
|
||||
|
||||
|
||||
bind = $mainMod, Z, exec, /home/sinsa/.local/bin/zen-twilight
|
||||
|
||||
|
||||
# Fullscreen window
|
||||
|
||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||
bind = $mainMod , F, fullscreen, 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
bind = $mainMod CTRL, 9, movetoworkspace, 9
|
||||
bind = $mainMod CTRL, 0, movetoworkspace, 10
|
||||
|
||||
|
||||
|
||||
# Move window
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow,r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
|
||||
# Resize window
|
||||
|
||||
bind = $mainMod ALT, right, resizeactive, 10 0
|
||||
bind = $mainMod ALT, left, resizeactive, -10 0
|
||||
bind = $mainMod ALT, up, resizeactive, 0 -10
|
||||
bind = $mainMod ALT, down, resizeactive, 0 10
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
# bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
|
||||
# Lock
|
||||
bindl=,switch:Lid Switch, exec, hyprlock
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrules that are useful
|
||||
|
||||
windowrule {
|
||||
# Ignore maximize requests from all apps. You'll probably like this.
|
||||
name = suppress-maximize-events
|
||||
match:class = .*
|
||||
|
||||
suppress_event = maximize
|
||||
}
|
||||
|
||||
windowrule {
|
||||
# Fix some dragging issues with XWayland
|
||||
name = fix-xwayland-drags
|
||||
match:class = ^$
|
||||
match:title = ^$
|
||||
match:xwayland = true
|
||||
match:float = true
|
||||
match:fullscreen = false
|
||||
match:pin = false
|
||||
|
||||
no_focus = true
|
||||
}
|
||||
|
||||
# Hyprland-run windowrule
|
||||
windowrule {
|
||||
name = move-hyprland-run
|
||||
|
||||
match:class = hyprland-run
|
||||
|
||||
move = 20 monitor_h-120
|
||||
float = yes
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
source = colors.conf
|
||||
$Scripts = $HOME/.config/hypr/scripts
|
||||
|
||||
auth {
|
||||
pam {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
|
||||
fingerprint {
|
||||
enabled = true
|
||||
ready_message = "Scan fingerprint to unlock"
|
||||
present_message = "Scanning"
|
||||
retry_delay = 250
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
general {
|
||||
grace = 1
|
||||
fractional_scaling = 2
|
||||
immediate_render = true
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
# NOTE: use only 1 path
|
||||
# path = screenshot # screenshot of your desktop
|
||||
#path = $HOME/.config/hypr/wallpaper_effects/.wallpaper_modified # by wallpaper effects
|
||||
path = ~/.config/hypr/current_wallpaper # CURRENT WALLPAPER
|
||||
|
||||
color = rgb(0,0,0) # color will be rendered initially until path is available
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
blur_size = 3
|
||||
blur_passes = 2 # 0 disables blurring
|
||||
noise = 0.0117
|
||||
contrast = 1.3000 # Vibrant!!!
|
||||
brightness = 0.6000
|
||||
vibrancy = 0.2100
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
|
||||
# Hours
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<b><big> $(date +"%H") </big></b>"
|
||||
color = $on_secondary_container
|
||||
font_size = 112
|
||||
font_family = Adwaita Sans
|
||||
shadow_passes = 0
|
||||
shadow_size = 0
|
||||
|
||||
position = 0, 220
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Minutes
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<b><big> $(date +"%M") </big></b>"
|
||||
color = $on_secondary_container
|
||||
font_size = 112
|
||||
font_family = Adwaita Sans
|
||||
shadow_passes = 0
|
||||
shadow_size = 0
|
||||
|
||||
position = 0, 80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Today
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:18000000] echo "<b><big> "$(date +'%A')" </big></b>"
|
||||
color = $secondary
|
||||
font_size = 18
|
||||
font_family = JetBrainsMono NFM
|
||||
|
||||
position = 0, -15
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Week
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:18000000] echo "<b> "$(date +'%d %b')" </b>"
|
||||
color = $secondary
|
||||
font_size = 14
|
||||
font_family = JetBrainsMono Nerd Font 10
|
||||
|
||||
position = 0, -40
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Degrees
|
||||
#label {
|
||||
monitor =
|
||||
text = cmd[update:18000000] echo "<b>Feels like<big> $(curl -s 'wttr.in?format=%t' | tr -d '+') </big></b>"
|
||||
color = $color8
|
||||
font_size = 14
|
||||
font_family = JetBrainsMono NFM
|
||||
|
||||
position = 0, 40
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# USER
|
||||
#label {
|
||||
monitor =
|
||||
text = $USER
|
||||
color = $color8
|
||||
font_size = 14
|
||||
font_family = JetBrainsMono NFM Bold
|
||||
position = 0, 200
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 250, 50
|
||||
outline_thickness = 3
|
||||
|
||||
dots_size = 0.26 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
dots_rouding = -1
|
||||
|
||||
rounding = 22
|
||||
outer_color = $source_color
|
||||
inner_color = rgba(255, 255, 255, 0.1)
|
||||
font_color = $secondary
|
||||
fade_on_empty = true
|
||||
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
|
||||
|
||||
position = 0, 120
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
|
||||
auth {
|
||||
pam {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
|
||||
fingerprint {
|
||||
enabled = true
|
||||
ready_message = "Scan fingerprint to unlock"
|
||||
present_message = "Scanning"
|
||||
retry_delay = 250
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = ~/Pictures/Sfondi/4.jpg
|
||||
blur_passes = 3
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
# Date display
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "$(LC_TIME=en_US.UTF-8 date +"%A, %B %d")"
|
||||
color = rgba(216, 222, 233, 0.90)
|
||||
font_size = 25
|
||||
font_family = SF Pro Display Semibold
|
||||
position = 0, 350
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Time display
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span>$(date +"%H:%M")</span>"
|
||||
color = rgba(216, 222, 233, 0.90)
|
||||
font_size = 120
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, 230
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 280, 55
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
outer_color = rgba(0, 0, 0, 0)
|
||||
inner_color = rgba(255, 255, 255, 0.1)
|
||||
font_color = rgb(200, 200, 200)
|
||||
fade_on_empty = false
|
||||
font_family = SF Pro Display Bold
|
||||
placeholder_text = <i><span foreground="##ffffff99"> Hi Sinsa :)</span></i>
|
||||
hide_input = false
|
||||
position = 0, -210
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
preload=/home/sinsa/Pictures/hypr5.jpg
|
||||
splash = false
|
||||
# wallpaper {
|
||||
# monitor =
|
||||
# path = /home/sinsa/Pictures/Sfondi/6.jpg
|
||||
# fit_mode = cover
|
||||
# }
|
||||
|
||||
wallpaper {
|
||||
monitor =
|
||||
path = /home/sinsa/.config/hypr/current_wallpaper
|
||||
fit_mode = cover
|
||||
}
|
||||
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Airplane Mode. Turning on or off all wifi using rfkill.
|
||||
|
||||
notif="$HOME/.config/swaync/images/airplane.png"
|
||||
|
||||
# Check if any wireless device is blocked
|
||||
wifi_blocked=$(rfkill list wifi | grep -o "Soft blocked: yes")
|
||||
|
||||
if [ -n "$wifi_blocked" ]; then
|
||||
rfkill unblock wifi
|
||||
notify-send -u low -i "$notif" " Airplane" " mode: OFF"
|
||||
else
|
||||
rfkill block wifi
|
||||
notify-send -u low -i "$notif" " Airplane" " mode: ON"
|
||||
fi
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
|
||||
# Copied from Discord post. Thanks to @Zorg
|
||||
|
||||
|
||||
# Get id of an active window
|
||||
active_pid=$(hyprctl activewindow | grep -o 'pid: [0-9]*' | cut -d' ' -f2)
|
||||
|
||||
# Close active window
|
||||
kill $active_pid
|
||||
Executable
+55
@@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Script for waybar layout or configs
|
||||
|
||||
IFS=$'\n\t'
|
||||
|
||||
# Define directories
|
||||
waybar_layouts="$HOME/.config/waybar/configs"
|
||||
waybar_config="$HOME/.config/waybar/config"
|
||||
SCRIPTSDIR="$HOME/.config/hypr/scripts"
|
||||
rofi_config="$HOME/.config/rofi/config.rasi"
|
||||
msg=' Choose Waybar Layout '
|
||||
|
||||
# Function to display menu options
|
||||
menu() {
|
||||
options=()
|
||||
while IFS= read -r file; do
|
||||
options+=("$(basename "$file")")
|
||||
done < <(find -L "$waybar_layouts" -maxdepth 1 -type f -exec basename {} \; | sort )
|
||||
|
||||
printf '%s\n' "${options[@]}"
|
||||
}
|
||||
|
||||
# Apply selected configuration
|
||||
apply_config() {
|
||||
ln -sf "$waybar_layouts/$1" "$waybar_config"
|
||||
"${SCRIPTSDIR}/wbrestart.sh" &
|
||||
}
|
||||
|
||||
# Main function
|
||||
main() {
|
||||
choice=$(menu | rofi -i -dmenu -config "$rofi_config" -mesg "$msg")
|
||||
|
||||
if [[ -z "$choice" ]]; then
|
||||
echo "No option selected. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case $choice in
|
||||
"no panel")
|
||||
pgrep -x "waybar" && pkill waybar || true
|
||||
;;
|
||||
*)
|
||||
apply_config "$choice"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Kill Rofi if already running before execution
|
||||
if pgrep -x "rofi" >/dev/null; then
|
||||
pkill rofi
|
||||
#exit 0
|
||||
fi
|
||||
|
||||
main
|
||||
Executable
+50
@@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Script for waybar styles
|
||||
|
||||
IFS=$'\n\t'
|
||||
|
||||
# Define directories
|
||||
waybar_styles="$HOME/.config/waybar/style"
|
||||
waybar_style="$HOME/.config/waybar/style.css"
|
||||
SCRIPTSDIR="$HOME/.config/hypr/scripts"
|
||||
rofi_config="$HOME/.config/rofi/config.rasi"
|
||||
msg=' Choose Waybar Style'
|
||||
|
||||
# Function to display menu options
|
||||
menu() {
|
||||
options=()
|
||||
while IFS= read -r file; do
|
||||
if [ -f "$waybar_styles/$file" ]; then
|
||||
options+=("$(basename "$file" .css)")
|
||||
fi
|
||||
done < <(find -L "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort )
|
||||
|
||||
printf '%s\n' "${options[@]}"
|
||||
}
|
||||
|
||||
# Apply selected style
|
||||
apply_style() {
|
||||
ln -sf "$waybar_styles/$1.css" "$waybar_style"
|
||||
"${SCRIPTSDIR}/wbrestart.sh" &
|
||||
}
|
||||
|
||||
# Main function
|
||||
main() {
|
||||
choice=$(menu | rofi -i -dmenu -config "$rofi_config" -mesg "$msg")
|
||||
|
||||
if [[ -z "$choice" ]]; then
|
||||
echo "No option selected. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
apply_style "$choice"
|
||||
}
|
||||
|
||||
# Kill Rofi if already running before execution
|
||||
if pgrep -x "rofi" >/dev/null; then
|
||||
pkill rofi
|
||||
#exit 0
|
||||
fi
|
||||
|
||||
main
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/zsh
|
||||
wlogout
|
||||
Executable
+74
@@ -0,0 +1,74 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Script for Monitor backlights (if supported) using brightnessctl
|
||||
|
||||
iDIR="$HOME/.config/swaync/icons"
|
||||
notification_timeout=1000
|
||||
step=5 # INCREASE/DECREASE BY THIS VALUE
|
||||
|
||||
# Get brightness
|
||||
get_backlight() {
|
||||
brightnessctl -m | cut -d, -f4 | sed 's/%//'
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_backlight)
|
||||
if [ "$current" -le "20" ]; then
|
||||
icon="$iDIR/brightness-20.png"
|
||||
elif [ "$current" -le "40" ]; then
|
||||
icon="$iDIR/brightness-40.png"
|
||||
elif [ "$current" -le "60" ]; then
|
||||
icon="$iDIR/brightness-60.png"
|
||||
elif [ "$current" -le "80" ]; then
|
||||
icon="$iDIR/brightness-80.png"
|
||||
else
|
||||
icon="$iDIR/brightness-100.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i $icon "Screen" "Brightness:$current%"
|
||||
}
|
||||
|
||||
# Change brightness
|
||||
change_backlight() {
|
||||
local current_brightness
|
||||
current_brightness=$(get_backlight)
|
||||
|
||||
# Calculate new brightness
|
||||
if [[ "$1" == "+${step}%" ]]; then
|
||||
new_brightness=$((current_brightness + step))
|
||||
elif [[ "$1" == "${step}%-" ]]; then
|
||||
new_brightness=$((current_brightness - step))
|
||||
fi
|
||||
|
||||
# Ensure new brightness is within valid range
|
||||
if ((new_brightness < 5)); then
|
||||
new_brightness=5
|
||||
elif ((new_brightness > 100)); then
|
||||
new_brightness=100
|
||||
fi
|
||||
|
||||
brightnessctl set "${new_brightness}%"
|
||||
get_icon
|
||||
current=$new_brightness
|
||||
notify_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
case "$1" in
|
||||
"--get")
|
||||
get_backlight
|
||||
;;
|
||||
"--inc")
|
||||
change_backlight "+${step}%"
|
||||
;;
|
||||
"--dec")
|
||||
change_backlight "${step}%-"
|
||||
;;
|
||||
*)
|
||||
get_backlight
|
||||
;;
|
||||
esac
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/zsh
|
||||
hyprlock
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
pkill waybar
|
||||
waybar -c /home/sinsa/.config/waybar/configs/default -s /home/sinsa/.config/waybar/style/islands.css
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
!#/bin/zsh
|
||||
grim -g "$(slurp)" &
|
||||
Executable
+144
@@ -0,0 +1,144 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Scripts for volume controls for audio and mic
|
||||
|
||||
iDIR="$HOME/.config/swaync/icons"
|
||||
sDIR="$HOME/.config/hypr/scripts"
|
||||
|
||||
# Get Volume
|
||||
get_volume() {
|
||||
volume=$(pamixer --get-volume)
|
||||
if [[ "$volume" -eq "0" ]]; then
|
||||
echo "Muted"
|
||||
else
|
||||
echo "$volume %"
|
||||
fi
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_volume)
|
||||
if [[ "$current" == "Muted" ]]; then
|
||||
echo "$iDIR/volume-mute.png"
|
||||
elif [[ "${current%\%}" -le 30 ]]; then
|
||||
echo "$iDIR/volume-low.png"
|
||||
elif [[ "${current%\%}" -le 60 ]]; then
|
||||
echo "$iDIR/volume-mid.png"
|
||||
else
|
||||
echo "$iDIR/volume-high.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
if [[ "$(get_volume)" == "Muted" ]]; then
|
||||
notify-send -e -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" " Volume:" " Muted"
|
||||
else
|
||||
notify-send -e -h int:value:"$(get_volume | sed 's/%//')" -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" " Volume Level:" " $(get_volume)" &&
|
||||
"$sDIR/Sounds.sh" --volume
|
||||
fi
|
||||
}
|
||||
|
||||
# Increase Volume
|
||||
inc_volume() {
|
||||
if [ "$(pamixer --get-mute)" == "true" ]; then
|
||||
toggle_mute
|
||||
else
|
||||
pamixer -i 5 --allow-boost --set-limit 150 && notify_user
|
||||
fi
|
||||
}
|
||||
|
||||
# Decrease Volume
|
||||
dec_volume() {
|
||||
if [ "$(pamixer --get-mute)" == "true" ]; then
|
||||
toggle_mute
|
||||
else
|
||||
pamixer -d 5 && notify_user
|
||||
fi
|
||||
}
|
||||
|
||||
# Toggle Mute
|
||||
toggle_mute() {
|
||||
if [ "$(pamixer --get-mute)" == "false" ]; then
|
||||
pamixer -m && notify-send -e -u low -i "$iDIR/volume-mute.png" " Mute"
|
||||
elif [ "$(pamixer --get-mute)" == "true" ]; then
|
||||
pamixer -u && notify-send -e -u low -i "$(get_icon)" " Volume:" " Switched ON"
|
||||
fi
|
||||
}
|
||||
|
||||
# Toggle Mic
|
||||
toggle_mic() {
|
||||
if [ "$(pamixer --default-source --get-mute)" == "false" ]; then
|
||||
pamixer --default-source -m && notify-send -e -u low -i "$iDIR/microphone-mute.png" " Microphone:" " Switched OFF"
|
||||
elif [ "$(pamixer --default-source --get-mute)" == "true" ]; then
|
||||
pamixer -u --default-source u && notify-send -e -u low -i "$iDIR/microphone.png" " Microphone:" " Switched ON"
|
||||
fi
|
||||
}
|
||||
# Get Mic Icon
|
||||
get_mic_icon() {
|
||||
current=$(pamixer --default-source --get-volume)
|
||||
if [[ "$current" -eq "0" ]]; then
|
||||
echo "$iDIR/microphone-mute.png"
|
||||
else
|
||||
echo "$iDIR/microphone.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Get Microphone Volume
|
||||
get_mic_volume() {
|
||||
volume=$(pamixer --default-source --get-volume)
|
||||
if [[ "$volume" -eq "0" ]]; then
|
||||
echo "Muted"
|
||||
else
|
||||
echo "$volume %"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify for Microphone
|
||||
notify_mic_user() {
|
||||
volume=$(get_mic_volume)
|
||||
icon=$(get_mic_icon)
|
||||
notify-send -e -h int:value:"$volume" -h "string:x-canonical-private-synchronous:volume_notif" -u low -i "$icon" " Mic Level:" " $volume"
|
||||
}
|
||||
|
||||
# Increase MIC Volume
|
||||
inc_mic_volume() {
|
||||
if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
|
||||
toggle_mic
|
||||
else
|
||||
pamixer --default-source -i 5 && notify_mic_user
|
||||
fi
|
||||
}
|
||||
|
||||
# Decrease MIC Volume
|
||||
dec_mic_volume() {
|
||||
if [ "$(pamixer --default-source --get-mute)" == "true" ]; then
|
||||
toggle-mic
|
||||
else
|
||||
pamixer --default-source -d 5 && notify_mic_user
|
||||
fi
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
if [[ "$1" == "--get" ]]; then
|
||||
get_volume
|
||||
elif [[ "$1" == "--inc" ]]; then
|
||||
inc_volume
|
||||
elif [[ "$1" == "--dec" ]]; then
|
||||
dec_volume
|
||||
elif [[ "$1" == "--toggle" ]]; then
|
||||
toggle_mute
|
||||
elif [[ "$1" == "--toggle-mic" ]]; then
|
||||
toggle_mic
|
||||
elif [[ "$1" == "--get-icon" ]]; then
|
||||
get_icon
|
||||
elif [[ "$1" == "--get-mic-icon" ]]; then
|
||||
get_mic_icon
|
||||
elif [[ "$1" == "--mic-inc" ]]; then
|
||||
inc_mic_volume
|
||||
elif [[ "$1" == "--mic-dec" ]]; then
|
||||
dec_mic_volume
|
||||
else
|
||||
get_volume
|
||||
fi
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
ICON_CONN=""
|
||||
ICON_DISCONN=""
|
||||
|
||||
a=$(nmcli connection show --active | grep "casa")
|
||||
|
||||
if [ $(nmcli connection show --active | grep "casa") ]; then
|
||||
TEXT="$ICON_CONN"
|
||||
else
|
||||
TEXT="$ICON_DISCONN"
|
||||
fi
|
||||
|
||||
printf '{"text":"%s"}\n' "$TEXT"
|
||||
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
|
||||
# Not my own work. This was added through Github PR. Credit to original author
|
||||
|
||||
#----- Optimized bars animation without much CPU usage increase --------
|
||||
bar="▁▂▃▄▅▆▇█"
|
||||
dict="s/;//g"
|
||||
|
||||
# Calculate the length of the bar outside the loop
|
||||
bar_length=${#bar}
|
||||
|
||||
# Create dictionary to replace char with bar
|
||||
for ((i = 0; i < bar_length; i++)); do
|
||||
dict+=";s/$i/${bar:$i:1}/g"
|
||||
done
|
||||
|
||||
# Create cava config
|
||||
config_file="/tmp/bar_cava_config"
|
||||
cat >"$config_file" <<EOF
|
||||
[general]
|
||||
# Older systems show significant CPU use with default framerate
|
||||
# Setting maximum framerate to 30
|
||||
# You can increase the value if you wish
|
||||
framerate = 30
|
||||
bars = 10
|
||||
|
||||
[input]
|
||||
method = pulse
|
||||
source = auto
|
||||
|
||||
[output]
|
||||
method = raw
|
||||
raw_target = /dev/stdout
|
||||
data_format = ascii
|
||||
ascii_max_range = 7
|
||||
EOF
|
||||
|
||||
# Kill cava if it's already running
|
||||
pkill -f "cava -p $config_file"
|
||||
|
||||
# Read stdout from cava and perform substitution in a single sed command
|
||||
cava -p "$config_file" | sed -u "$dict"
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/zsh
|
||||
|
||||
killall -9 swaync
|
||||
killall -9 waybar
|
||||
|
||||
swaync &
|
||||
waybar &
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# === CONFIG ===
|
||||
WALLPAPER_DIR="$HOME/Pictures/wallpapers"
|
||||
SYMLINK_PATH="$HOME/.config/hypr/current_wallpaper"
|
||||
|
||||
cd "$WALLPAPER_DIR" || exit 1
|
||||
|
||||
# === handle spaces name
|
||||
IFS=$'\n'
|
||||
|
||||
# === ICON-PREVIEW SELECTION WITH ROFI, SORTED BY NEWEST ===
|
||||
SELECTED_WALL=$(for a in $(ls -t *.jpg *.png *.gif *.jpeg 2>/dev/null); do echo -en "$a\0icon\x1f$a\n"; done | rofi -dmenu -p "")
|
||||
[ -z "$SELECTED_WALL" ] && exit 1
|
||||
SELECTED_PATH="$WALLPAPER_DIR/$SELECTED_WALL"
|
||||
|
||||
# === SET WALLPAPER ===
|
||||
matugen image "$SELECTED_PATH"
|
||||
|
||||
# === CREATE SYMLINK ===
|
||||
mkdir -p "$(dirname "$SYMLINK_PATH")"
|
||||
ln -sf "$SELECTED_PATH" "$SYMLINK_PATH"
|
||||
Reference in New Issue
Block a user