Hyprland
This commit is contained in:
14
.config/hypr/autostart.conf
Normal file
14
.config/hypr/autostart.conf
Normal file
@ -0,0 +1,14 @@
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = waybar
|
||||
exec-once = swaync
|
||||
exec-once = ulauncher
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
|
||||
exec-once = vesktop
|
||||
exec-once = steam
|
||||
|
||||
# exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper & firefox
|
6
.config/hypr/environment.conf
Normal file
6
.config/hypr/environment.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_THEME,RosePine
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_THEME,RosePine
|
||||
env = HYPRCURSOR_SIZE,24
|
33
.config/hypr/hyprland.conf
Normal file
33
.config/hypr/hyprland.conf
Normal file
@ -0,0 +1,33 @@
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hyprland.org/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 = ~/.config/hypr/themes/catppuccin-mocha.conf
|
||||
source = ~/.config/hypr/themes/rose-pine-moon.conf
|
||||
|
||||
source = ~/.config/hypr/variables.conf
|
||||
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
|
||||
source = ~/.config/hypr/workspaces.conf
|
||||
|
||||
source = ~/.config/hypr/windowRules.conf
|
||||
|
||||
source = ~/.config/hypr/autostart.conf
|
||||
|
||||
source = ~/.config/hypr/environment.conf
|
||||
|
||||
source = ~/.config/hypr/lookAndFeel.conf
|
||||
|
||||
source = ~/.config/hypr/input.conf
|
||||
|
||||
source = ~/.config/hypr/keybinds.conf
|
||||
|
||||
|
29
.config/hypr/input.conf
Normal file
29
.config/hypr/input.conf
Normal file
@ -0,0 +1,29 @@
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us,se
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = grp:alt_space_toggle
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
numlock_by_default = true
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
# 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
|
||||
}
|
80
.config/hypr/keybinds.conf
Normal file
80
.config/hypr/keybinds.conf
Normal file
@ -0,0 +1,80 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
bind = , Print, exec, ~/Scripts/screenshot.sh
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mod, return, exec, $terminal
|
||||
bind = $mod, Q, killactive,
|
||||
# bind = $mod, M, exit,
|
||||
bind = $mod, E, exec, $fileManager
|
||||
bind = $mod, space, togglefloating,
|
||||
bind = $mod, D, exec, $menu
|
||||
bind = $mod, P, pseudo, # dwindle
|
||||
bind = $mod, J, togglesplit, # dwindle
|
||||
bind = $mod SHIFT, R, exec, killall waybar && waybar &
|
||||
|
||||
# Move focus with mod + arrow keys
|
||||
bind = $mod, left, movefocus, l
|
||||
bind = $mod, right, movefocus, r
|
||||
bind = $mod, up, movefocus, u
|
||||
bind = $mod, down, movefocus, d
|
||||
|
||||
# Move window with mod + arrow keys
|
||||
bind = $mod SHIFT, left, movewindow, l
|
||||
bind = $mod SHIFT, right, movewindow, r
|
||||
bind = $mod SHIFT, up, movewindow, u
|
||||
bind = $mod SHIFT, down, movewindow, d
|
||||
|
||||
# Switch workspaces with mod + [0-9]
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
bind = $mod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mod + SHIFT + [0-9]
|
||||
bind = $mod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mod, S, togglespecialworkspace, magic
|
||||
bind = $mod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mod + scroll
|
||||
bind = $mod, mouse_down, workspace, e+1
|
||||
bind = $mod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mod + LMB/RMB and dragging
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod, mouse:273, 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 s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
104
.config/hypr/lookAndFeel.conf
Normal file
104
.config/hypr/lookAndFeel.conf
Normal file
@ -0,0 +1,104 @@
|
||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 4
|
||||
gaps_out = 10
|
||||
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = $rose $pine $love $iris 90deg
|
||||
col.inactive_border = $muted
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# 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 = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||
animations {
|
||||
enabled = yes, please :)
|
||||
|
||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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.0
|
||||
bezier = quick,0.15,0,0.1,1
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
# Ref https://wiki.hyprland.org/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 = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:f[1]
|
||||
|
||||
# See https://wiki.hyprland.org/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.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
7
.config/hypr/monitors.conf
Normal file
7
.config/hypr/monitors.conf
Normal file
@ -0,0 +1,7 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
#monitor=,preferred,auto,auto
|
||||
monitor = $vr, disable
|
||||
monitor = $tv, 1920x1080, 166x0, 1
|
||||
monitor = $leftMon, 2560x1440@144, 0x1080, 1
|
||||
monitor = $middleMon, 2560x1440@188, 2560x1080, 1
|
||||
monitor = $rightMon, 2560x1440@60, 5120x1080, 1
|
77
.config/hypr/themes/catppuccin-mocha.conf
Normal file
77
.config/hypr/themes/catppuccin-mocha.conf
Normal file
@ -0,0 +1,77 @@
|
||||
$rosewater = rgb(f5e0dc)
|
||||
$rosewaterAlpha = f5e0dc
|
||||
|
||||
$flamingo = rgb(f2cdcd)
|
||||
$flamingoAlpha = f2cdcd
|
||||
|
||||
$pink = rgb(f5c2e7)
|
||||
$pinkAlpha = f5c2e7
|
||||
|
||||
$mauve = rgb(cba6f7)
|
||||
$mauveAlpha = cba6f7
|
||||
|
||||
$red = rgb(f38ba8)
|
||||
$redAlpha = f38ba8
|
||||
|
||||
$maroon = rgb(eba0ac)
|
||||
$maroonAlpha = eba0ac
|
||||
|
||||
$peach = rgb(fab387)
|
||||
$peachAlpha = fab387
|
||||
|
||||
$yellow = rgb(f9e2af)
|
||||
$yellowAlpha = f9e2af
|
||||
|
||||
$green = rgb(a6e3a1)
|
||||
$greenAlpha = a6e3a1
|
||||
|
||||
$teal = rgb(94e2d5)
|
||||
$tealAlpha = 94e2d5
|
||||
|
||||
$sky = rgb(89dceb)
|
||||
$skyAlpha = 89dceb
|
||||
|
||||
$sapphire = rgb(74c7ec)
|
||||
$sapphireAlpha = 74c7ec
|
||||
|
||||
$blue = rgb(89b4fa)
|
||||
$blueAlpha = 89b4fa
|
||||
|
||||
$lavender = rgb(b4befe)
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$text = rgb(cdd6f4)
|
||||
$textAlpha = cdd6f4
|
||||
|
||||
$subtext1 = rgb(bac2de)
|
||||
$subtext1Alpha = bac2de
|
||||
|
||||
$subtext0 = rgb(a6adc8)
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2 = rgb(9399b2)
|
||||
$overlay2Alpha = 9399b2
|
||||
|
||||
$overlay1 = rgb(7f849c)
|
||||
$overlay1Alpha = 7f849c
|
||||
|
||||
$overlay0 = rgb(6c7086)
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2 = rgb(585b70)
|
||||
$surface2Alpha = 585b70
|
||||
|
||||
$surface1 = rgb(45475a)
|
||||
$surface1Alpha = 45475a
|
||||
|
||||
$surface0 = rgb(313244)
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$base = rgb(1e1e2e)
|
||||
$baseAlpha = 1e1e2e
|
||||
|
||||
$mantle = rgb(181825)
|
||||
$mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111b
|
19
.config/hypr/themes/rose-pine-moon.conf
Normal file
19
.config/hypr/themes/rose-pine-moon.conf
Normal file
@ -0,0 +1,19 @@
|
||||
# name: Rosé Pine Moon
|
||||
# author: jishnurajendran
|
||||
# upstream: https://github.com/jishnurajendran/hyprland-rosepine/blob/main/rose-pine-moon.conf
|
||||
# All natural pine, faux fur and a bit of soho vibes for the classy minimalist
|
||||
$base = 0xff232136
|
||||
$surface = 0xff2a273f
|
||||
$overlay = 0xff393552
|
||||
$muted = 0xff6e6a86
|
||||
$subtle = 0xff908caa
|
||||
$text = 0xffe0def4
|
||||
$love = 0xffeb6f92
|
||||
$gold = 0xfff6c177
|
||||
$rose = 0xffea9a97
|
||||
$pine = 0xff3e8fb0
|
||||
$foam = 0xff9ccfd8
|
||||
$iris = 0xffc4a7e7
|
||||
$highlightLow = 0xff2a283e
|
||||
$highlightMed = 0xff44415a
|
||||
$highlightHigh = 0xff56526e
|
15
.config/hypr/variables.conf
Normal file
15
.config/hypr/variables.conf
Normal file
@ -0,0 +1,15 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
$mod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
# $menu = wofi --show drun
|
||||
$menu = ulauncher
|
||||
|
||||
$vr = DP-2
|
||||
$tv = HDMI-A-3
|
||||
$leftMon = HDMI-A-2
|
||||
$middleMon = DP-1
|
||||
$rightMon = HDMI-A-1
|
17
.config/hypr/windowRules.conf
Normal file
17
.config/hypr/windowRules.conf
Normal file
@ -0,0 +1,17 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
windowrule = workspace 8, class:vesktop
|
||||
windowrule = float, class:vesktop
|
||||
windowrule = size 43% 1380, class:vesktop
|
||||
windowrule = move 100%-w-10, class:vesktop
|
||||
windowrule = noinitialfocus, class:vesktop
|
||||
|
||||
windowrule = workspace 4, class:steam
|
||||
windowrule = noinitialfocus, class:steam
|
||||
|
||||
# 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
|
10
.config/hypr/workspaces.conf
Normal file
10
.config/hypr/workspaces.conf
Normal file
@ -0,0 +1,10 @@
|
||||
workspace = 1, monitor:$middleMon, persistent:true, default:true
|
||||
workspace = 2, monitor:$middleMon, persistent:true
|
||||
workspace = 3, monitor:$middleMon, persistent:true
|
||||
workspace = 4, monitor:$middleMon, persistent:true
|
||||
workspace = 5, monitor:$rightMon, persistent:true, default:true
|
||||
workspace = 6, monitor:$rightMon, persistent:true
|
||||
workspace = 7, monitor:$rightMon, persistent:true
|
||||
workspace = 8, monitor:$leftMon, persistent:true, default:true
|
||||
workspace = 9, monitor:$leftMon, persistent:true
|
||||
workspace = 10, monitor:$tv, persistent:true, default:true
|
@ -1,4 +1,4 @@
|
||||
include ./themes/ayu.conf
|
||||
include ./themes/rose-pine-moon.conf
|
||||
|
||||
background_opacity 0.95
|
||||
|
||||
|
105
.config/waybar/config.jsonc
Normal file
105
.config/waybar/config.jsonc
Normal file
@ -0,0 +1,105 @@
|
||||
{
|
||||
"layer": "top",
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
|
||||
"modules-center": ["hyprland/window"],
|
||||
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"cpu",
|
||||
"memory",
|
||||
"clock",
|
||||
"pulseaudio",
|
||||
"hyprland/language",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{}",
|
||||
"active-only": false,
|
||||
"sort-by-number": true,
|
||||
"on-click": "activate",
|
||||
"all-outputs": false
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{title}",
|
||||
"max-length": 333,
|
||||
"seperate-outputs": true
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": " {}",
|
||||
"format-en": "Merica",
|
||||
"format-se": "Swedish"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 14,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": " {:%I:%M %a %d}",
|
||||
"tooltip-format": "{calendar}",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>{%W}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-middle": "mode",
|
||||
"on-click-right": "shift_up",
|
||||
"on-click": "shift_down"
|
||||
}
|
||||
/*"format-alt": "<span foreground='#89dceb'> </span><span>{:%H:%M}</span>"*/
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": " {usage}%"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": " {}%",
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}% {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "<span foreground='#ea9a97'></span>",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click-left": "pavucontrol",
|
||||
"input": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
||||
"menu-actions": {
|
||||
"logout": "hyprctl dispatch exit",
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
}
|
||||
}
|
84
.config/waybar/modules.jsonc
Normal file
84
.config/waybar/modules.jsonc
Normal file
@ -0,0 +1,84 @@
|
||||
{
|
||||
"hyprland/workspaces": {
|
||||
"format": "{}",
|
||||
"active-only": false,
|
||||
"sort-by-number": true,
|
||||
"on-click": "activate",
|
||||
"all-outputs": false
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{title}",
|
||||
"max-length": 333,
|
||||
"seperate-outputs": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"format": "<span foreground='#D3C6AA'>{icon}</span>",
|
||||
"icon-size": 14,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "<span foreground='#f6c177'> </span><span>{:%I:%M %a %d}</span>",
|
||||
"tooltip-format": "{calendar}",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>{%W}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-middle": "mode",
|
||||
"on-click-right": "shift_up",
|
||||
"on-click": "shift_down"
|
||||
}
|
||||
/*"format-alt": "<span foreground='#89dceb'> </span><span>{:%H:%M}</span>"*/
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": "<span foreground='#eb6f92'></span> {usage}%"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": "<span foreground='#ebbcba'></span> {}%",
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "<span foreground='#31748f'>{icon}</span> {volume}% {format_source}",
|
||||
"format-bluetooth": "<span foreground='#c4a7e7'>{icon}</span> {volume}% {format_source}",
|
||||
"format-bluetooth-muted": "<span foreground='#c4a7e7'></span> {format_source}",
|
||||
"format-muted": "<span foreground='#eb6f92'></span> {format_source}",
|
||||
"format-source": "<span foreground='#E67E80'></span> {volume}%",
|
||||
"format-source-muted": "<span foreground='#F38BA8'></span>",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click-left": "pavucontrol",
|
||||
"input": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "⏻ ",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
|
||||
"menu-actions": {
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
}
|
||||
}
|
33
.config/waybar/power_menu.xml
Normal file
33
.config/waybar/power_menu.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkMenu" id="menu">
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="suspend">
|
||||
<property name="label">Suspend</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="logout">
|
||||
<property name="label">Logout</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="hibernate">
|
||||
<property name="label">Hibernate</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="shutdown">
|
||||
<property name="label">Shutdown</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="reboot">
|
||||
<property name="label">Reboot</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
151
.config/waybar/style.css
Normal file
151
.config/waybar/style.css
Normal file
@ -0,0 +1,151 @@
|
||||
@import "./themes/rose-pine-moon.css";
|
||||
|
||||
* {
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 7px;
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
font-size: 10pt;
|
||||
font-weight: 700;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @base;
|
||||
border-radius: 7px;
|
||||
border: 2px solid @overlay;
|
||||
}
|
||||
|
||||
#window {
|
||||
margin: 5px 5px 2px 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 7px;
|
||||
border-radius: 3px;
|
||||
border-bottom: 2px solid @overlay;
|
||||
border-right: 2px solid @overlay;
|
||||
border-color: @overlay;
|
||||
background-color: @base;
|
||||
color: @foam;
|
||||
}
|
||||
|
||||
window#waybar.empty #window {
|
||||
background-color: transparent;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
color: @iris;
|
||||
}
|
||||
|
||||
/* Workspaces */
|
||||
@keyframes button_activate {
|
||||
from {
|
||||
opacity: 0.3;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 5px 5px 2px 5px;
|
||||
border-radius: 3px;
|
||||
padding: 1px;
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
margin: 5px 2px 5px 2px;
|
||||
border-radius: 3px;
|
||||
padding-left: 9px;
|
||||
padding-right: 9px;
|
||||
background-color: @base;
|
||||
color: @iris;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: @rose;
|
||||
color: @base;
|
||||
/*color: @bg;*/
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @love;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
border: solid transparent;
|
||||
background-color: @highlightMed;
|
||||
}
|
||||
|
||||
#tray {
|
||||
margin: 5px 5px 2px 5px;
|
||||
border-radius: 3px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
background-color: @base;
|
||||
color: @foam;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#memory {
|
||||
margin: 5px 5px 2px 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 3px;
|
||||
background-color: @base;
|
||||
color: @rose;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 2px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
background-color: @base;
|
||||
color: @iris;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
margin-right: 0px;
|
||||
margin-left: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 7.5px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin: 5px 5px 2px 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 3px;
|
||||
background-color: @base;
|
||||
color: @gold;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin: 5px 5px 2px 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 3px;
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#language {
|
||||
margin: 5px 5px 2px 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 3px;
|
||||
background-color: @base;
|
||||
color: @foam;
|
||||
}
|
23
.config/waybar/themes/rose-pine-moon.css
Normal file
23
.config/waybar/themes/rose-pine-moon.css
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Variant: Rosé Pine Moon
|
||||
* Maintainer: DankChoir
|
||||
*/
|
||||
|
||||
@define-color base #232136;
|
||||
@define-color surface #2a273f;
|
||||
@define-color overlay #393552;
|
||||
|
||||
@define-color muted #6e6a86;
|
||||
@define-color subtle #908caa;
|
||||
@define-color text #e0def4;
|
||||
|
||||
@define-color love #eb6f92;
|
||||
@define-color gold #f6c177;
|
||||
@define-color rose #ea9a97;
|
||||
@define-color pine #3e8fb0;
|
||||
@define-color foam #9ccfd8;
|
||||
@define-color iris #c4a7e7;
|
||||
|
||||
@define-color highlightLow #2a283e;
|
||||
@define-color highlightMed #44415a;
|
||||
@define-color highlightHigh #56526e;
|
5
.zshrc
5
.zshrc
@ -84,16 +84,21 @@ alias npm='pnpm'
|
||||
alias npx='pnpm dlx'
|
||||
alias zed='zeditor'
|
||||
|
||||
#alias cd='cd ~/myHome'
|
||||
|
||||
alias chall='~/Scripts/challenges.sh'
|
||||
alias backup='~/Scripts/backup.sh'
|
||||
|
||||
alias brew='echo "Remeber what happened last time. You do not want to do that."'
|
||||
|
||||
alias ustow='export CURRENT_PATH=$(pwd) && cd ~/myHome/Dotfiles && stow -t /home/luna . && cd $CURRENT_PATH'
|
||||
|
||||
# Paths
|
||||
PATH="$HOME/.npm-packages/bin:$PATH"
|
||||
PATH="$HOME/.bun/bin:$PATH"
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
PATH="/usr/local/go/bin:$PATH"
|
||||
PATH="$HOME/go/bin:$PATH"
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/luna/.local/share/pnpm"
|
||||
|
20
Scripts/screenshot.sh
Executable file
20
Scripts/screenshot.sh
Executable file
@ -0,0 +1,20 @@
|
||||
screenshotName="$(date +%Y%m%d_%H%m%s)"
|
||||
screenshotDir="$HOME/myHome/Pictures/Screenshots"
|
||||
|
||||
hyprctl keyword animation "fadeOut, 0, 0, default"
|
||||
|
||||
grimblast --freeze save area "${screenshotDir}/$screenshotName.png"
|
||||
|
||||
swappy -f "${screenshotDir}/$screenshotName.png" -o "${screenshotDir}/$screenshotName-Swappy.png"
|
||||
|
||||
hyprctl keyword animation "fadeOut, 1, 4, default"
|
||||
|
||||
|
||||
# WITHOUT SWAPPY
|
||||
# screenshotName="$(date +%Y%m%d_%H%m%s)"
|
||||
|
||||
# hyprctl keyword animation "fadeOut, 0, 0, default"
|
||||
|
||||
# grimblast --freeze copysave area "${screenshotDir}/$screenshotName.png"
|
||||
|
||||
# hyprctl keyword animation "fadeOut, 1, 4, default"
|
Reference in New Issue
Block a user