initial commit
This commit is contained in:
parent
5017c1f945
commit
4e9928a2e4
32
.zshrc
Normal file
32
.zshrc
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
HISTFILE=~/.histfile
|
||||||
|
HISTSIZE=1000
|
||||||
|
SAVEHIST=1000
|
||||||
|
unsetopt autocd beep
|
||||||
|
zstyle :compinstall filename '/home/smayzy/.zshrc'
|
||||||
|
source <(fzf --zsh)
|
||||||
|
export MANPAGER='nvim +Man!'
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
|
use_color=true
|
||||||
|
|
||||||
|
PROMPT=" %B%F{196}%n %f%b%B%F{33}%~%f%b "
|
||||||
|
RPROMPT="%F{226}%d%f"
|
||||||
|
|
||||||
|
alias la='ls -a --color=auto'
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias gits='git status'
|
||||||
|
alias gita='git add'
|
||||||
|
alias gitm='git commit'
|
||||||
|
alias gitl='git log'
|
||||||
|
alias syu='sudo pacman -Syu'
|
||||||
|
alias sshi='ssh -i ~/.ssh/id_rsa'
|
||||||
|
alias clearf='clear && fastfetch'
|
||||||
|
alias cp='cp -r'
|
||||||
|
|
||||||
|
autoload -Uz promptinit
|
||||||
|
promptinit
|
||||||
|
|
||||||
|
fastfetch
|
||||||
25
hypr/battery.sh
Executable file
25
hypr/battery.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BAT=$(ls /sys/class/power_supply | grep -E '^BAT' | head -n 1)
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
|
||||||
|
capacity=$(cat "/sys/class/power_supply/${BAT}/capacity")
|
||||||
|
BATSTATUS=$(cat "/sys/class/power_supply/${BAT}/status")
|
||||||
|
|
||||||
|
if [ -f "/sys/class/power_supply/${BAT}/power_now" ]; then
|
||||||
|
power_now=$(cat "/sys/class/power_supply/${BAT}/power_now")
|
||||||
|
power_watt=$(echo "scale=1; $power_now / 1000000" | bc)
|
||||||
|
else
|
||||||
|
power_watt="N/A"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$BATSTATUS" == "Discharging" ]; then
|
||||||
|
if [ "$capacity" -le 20 ]; then
|
||||||
|
notify-send -u critical "Battery Warning!" \
|
||||||
|
"Battery is at ${capacity}% discharging at a rate of ${power_watt}W."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
sleep 120
|
||||||
|
done
|
||||||
98
hypr/binds.conf
Normal file
98
hypr/binds.conf
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
####################################
|
||||||
|
### USE WEV TO GET THE KEYS CODE ###
|
||||||
|
####################################
|
||||||
|
|
||||||
|
####################
|
||||||
|
### KEYBINDINGSS ###
|
||||||
|
####################
|
||||||
|
|
||||||
|
$terminal = kitty
|
||||||
|
$fileManager = thunar
|
||||||
|
$menu = wofi --show drun
|
||||||
|
$calc = qalculate-gtk
|
||||||
|
|
||||||
|
# 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, Q, exec, $terminal
|
||||||
|
bind = $mainMod, C, killactive,
|
||||||
|
bind = $mainMod, comma, exit,
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
bind = $mainMod, R, exec, $menu
|
||||||
|
bind = $mainMod, W, exec, wlogout
|
||||||
|
bind = $mainMod, A, exec, qutebrowser
|
||||||
|
bind = $mainMod, F, fullscreen
|
||||||
|
bind = $mainMod, T, togglefloating
|
||||||
|
bind = , XF86Calculator, exec, $calc
|
||||||
|
bind = , XF86RFKill, exec, virt-manager
|
||||||
|
bind = , XF86Favorites, exec, discord
|
||||||
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
|
||||||
|
# Change Wallpaper
|
||||||
|
bind = $mainMod SHIFT, W, exec, pkill wallpaper.sh && /home/smayzy/.config/hypr/wallpaper.sh
|
||||||
|
|
||||||
|
# Screenshots
|
||||||
|
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||||
|
|
||||||
|
#reload waybar
|
||||||
|
bind = $mainMod SHIFT, B, exec, killall waybar && waybar &
|
||||||
|
|
||||||
|
#hidden waybar
|
||||||
|
bind = $mainMod, X, exec, killall waybar || waybar &
|
||||||
|
|
||||||
|
#brightness
|
||||||
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||||||
|
bind = ,XF86MonBrightnessUp,exec,brightnessctl set 5%+
|
||||||
|
|
||||||
|
#Mute by setting to 0%
|
||||||
|
bind = ,XF86AudioMute, exec, pactl set-sink-volume @DEFAULT_SINK@ 0%
|
||||||
|
|
||||||
|
#voluma
|
||||||
|
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
|
||||||
|
#mute micro
|
||||||
|
bind = ,XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, ampersand, workspace, 1
|
||||||
|
bind = $mainMod, eacute, workspace, 2
|
||||||
|
bind = $mainMod, quotedbl, workspace, 3
|
||||||
|
bind = $mainMod, apostrophe, workspace, 4
|
||||||
|
bind = $mainMod, parenleft, workspace, 5
|
||||||
|
bind = $mainMod, minus, workspace, 6
|
||||||
|
bind = $mainMod, egrave, workspace, 7
|
||||||
|
bind = $mainMod, underscore, workspace, 8
|
||||||
|
bind = $mainMod, ccedilla, workspace, 9
|
||||||
|
bind = $mainMod, agrave, workspace, 10
|
||||||
|
bind = $mainMod, dead_circumflex, workspace, 11
|
||||||
|
bind = $mainMod, dollar, workspace, 12
|
||||||
|
bind = $mainMod, ugrave, workspace, 13
|
||||||
|
bind = $mainMod, asterisk, workspace, 14
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, ampersand, movetoworkspacesilent, 1
|
||||||
|
bind = $mainMod SHIFT, eacute, movetoworkspacesilent, 2
|
||||||
|
bind = $mainMod SHIFT, quotedbl, movetoworkspacesilent, 3
|
||||||
|
bind = $mainMod SHIFT, apostrophe, movetoworkspacesilent, 4
|
||||||
|
bind = $mainMod SHIFT, parenleft, movetoworkspacesilent, 5
|
||||||
|
bind = $mainMod SHIFT, minus, movetoworkspacesilent, 6
|
||||||
|
bind = $mainMod SHIFT, egrave, movetoworkspacesilent, 7
|
||||||
|
bind = $mainMod SHIFT, underscore, movetoworkspacesilent, 8
|
||||||
|
bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
||||||
|
bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
||||||
|
bind = $mainMod SHIFT, dead_circumflex, movetoworkspacesilent, 11
|
||||||
|
bind = $mainMod SHIFT, dollar, movetoworkspacesilent, 12
|
||||||
|
bind = $mainMod SHIFT, ugrave, movetoworkspacesilent, 13
|
||||||
|
bind = $mainMod SHIFT, asterisk, movetoworkspacesilent, 14
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
175
hypr/hyprland.conf
Normal file
175
hypr/hyprland.conf
Normal file
@ -0,0 +1,175 @@
|
|||||||
|
###############
|
||||||
|
### SOURCES ###
|
||||||
|
###############
|
||||||
|
|
||||||
|
source=/home/smayzy/.config/hypr/binds.conf
|
||||||
|
source=/home/smayzy/.config/hypr/mocha.conf
|
||||||
|
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=,preferred,auto,1
|
||||||
|
|
||||||
|
###################
|
||||||
|
### MY PROGRAMS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
|
# Set programs that you use
|
||||||
|
$terminal = kitty
|
||||||
|
$fileManager = thunar
|
||||||
|
$menu = wofi --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 = waybar
|
||||||
|
exec-once = /home/smayzy/.config/hypr/battery.sh
|
||||||
|
exec = /home/smayzy/.config/hypr/wallpaper.sh
|
||||||
|
exec = killall waybar && waybar
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||||
|
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
|
||||||
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
|
general {
|
||||||
|
gaps_in = 2
|
||||||
|
gaps_out = 5
|
||||||
|
|
||||||
|
border_size = 3
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
|
col.active_border = rgba(ff33d9ee) rgba(ff3333ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
|
# 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 = master
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
|
decoration {
|
||||||
|
rounding = 8
|
||||||
|
|
||||||
|
# Change transparency of focused and unfocused windows
|
||||||
|
active_opacity = 1.0
|
||||||
|
inactive_opacity = 1.0
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
|
blur {
|
||||||
|
enabled = false
|
||||||
|
size = 3
|
||||||
|
passes = 1
|
||||||
|
|
||||||
|
vibrancy = 0.1696
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
}
|
||||||
|
|
||||||
|
# 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 = 0 # 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. :(
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
|
input {
|
||||||
|
kb_layout =fr
|
||||||
|
kb_variant =
|
||||||
|
kb_model =pc105
|
||||||
|
kb_options =terminate:ctrl_alt_bksp
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
##############################
|
||||||
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
|
# Example windowrule v1
|
||||||
|
# windowrule = float, ^(kitty)$
|
||||||
|
|
||||||
|
# Example windowrule v2
|
||||||
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
|
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
89
hypr/hyprlock.conf
Normal file
89
hypr/hyprlock.conf
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
source = $HOME/.config/hypr/mocha.conf
|
||||||
|
|
||||||
|
$accent = $mauve
|
||||||
|
$accentAlpha = $mauveAlpha
|
||||||
|
$font = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
# GENERAL
|
||||||
|
general {
|
||||||
|
disable_loading_bar = true
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# BACKGROUND
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = /home/smayzy/Wallpaper/himeno.jpg
|
||||||
|
blur_passes = 0
|
||||||
|
color = $base
|
||||||
|
}
|
||||||
|
|
||||||
|
# LAYOUT
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = Layout: $LAYOUT
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = 30, -30
|
||||||
|
halign = left
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME
|
||||||
|
color = $text
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = -30, -150
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# USER AVATAR
|
||||||
|
image {
|
||||||
|
monitor =
|
||||||
|
path = $HOME/.face
|
||||||
|
size = 100
|
||||||
|
border_color = $accent
|
||||||
|
position = 0, 75
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# INPUT FIELD
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 300, 60
|
||||||
|
outline_thickness = 4
|
||||||
|
dots_size = 0.2
|
||||||
|
dots_spacing = 0.2
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $accent
|
||||||
|
inner_color = $surface0
|
||||||
|
font_color = $text
|
||||||
|
fade_on_empty = false
|
||||||
|
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||||
|
hide_input = false
|
||||||
|
check_color = $accent
|
||||||
|
fail_color = $red
|
||||||
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||||
|
capslock_color = $yellow
|
||||||
|
position = 0, -47
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
0
hypr/hyprpaper.conf
Normal file
0
hypr/hyprpaper.conf
Normal file
77
hypr/mocha.conf
Normal file
77
hypr/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
|
||||||
22
hypr/wallpaper.sh
Executable file
22
hypr/wallpaper.sh
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
Wallpaper_DIR="/home/smayzy/Wallpaper"
|
||||||
|
|
||||||
|
set_wallpaper() {
|
||||||
|
local Wallpaper=$(find $Wallpaper_DIR -type f | shuf -n 1)
|
||||||
|
|
||||||
|
> /home/smayzy/.config/hypr/hyprpaper.conf
|
||||||
|
|
||||||
|
echo "preload = $Wallpaper" >> /home/smayzy/.config/hypr/hyprpaper.conf
|
||||||
|
echo "wallpaper = ,$Wallpaper" >> /home/smayzy/.config/hypr/hyprpaper.conf
|
||||||
|
|
||||||
|
# Restart hyprpaper
|
||||||
|
killall hyprpaper 2>/dev/null
|
||||||
|
hyprpaper &
|
||||||
|
}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
set_wallpaper
|
||||||
|
sleep 600
|
||||||
|
done
|
||||||
|
|
||||||
161
waybar/config
Normal file
161
waybar/config
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
// -*- mode: json -*-
|
||||||
|
|
||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"modules-left": [
|
||||||
|
"custom/launcher",
|
||||||
|
"custom/right-arrow-dark",
|
||||||
|
"custom/right-arrow-light",
|
||||||
|
"network",
|
||||||
|
"custom/right-arrow-dark",
|
||||||
|
"custom/right-arrow-light",
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"custom/right-arrow-dark"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"clock#1",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"clock#2",
|
||||||
|
"custom/right-arrow-dark",
|
||||||
|
"custom/right-arrow-light",
|
||||||
|
"clock#3",
|
||||||
|
"custom/right-arrow-dark"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"custom/updates",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"cpu",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"memory",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"pulseaudio",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"backlight",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"battery",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"disk",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"tray",
|
||||||
|
"custom/left-arrow-light",
|
||||||
|
"custom/left-arrow-dark",
|
||||||
|
"custom/power"
|
||||||
|
],
|
||||||
|
|
||||||
|
"custom/left-arrow-dark": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/left-arrow-light": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/right-arrow-dark": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/right-arrow-light": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": " {}%",
|
||||||
|
"interval":1
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format-wifi": " {essid}",
|
||||||
|
"format-ethernet": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
"good": 95,
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 20
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-plugged": " {capacity}%",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"interval":1
|
||||||
|
},
|
||||||
|
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"disable-scroll": true,
|
||||||
|
"format": "{name}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock#1": {
|
||||||
|
"format": "{:%a}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"clock#2": {
|
||||||
|
"format": "{:%I:%M %p}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"clock#3": {
|
||||||
|
"format": "{:%d-%m}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume:2}%",
|
||||||
|
"format-bluetooth": "{icon} {volume}%",
|
||||||
|
"format-muted": "MUTE",
|
||||||
|
"format-icons": {
|
||||||
|
"headphones": "",
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"scroll-step": 5,
|
||||||
|
"on-click": "pamixer -t",
|
||||||
|
"on-click-right": "pavucontrol"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {}%"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {usage}%"
|
||||||
|
},
|
||||||
|
"disk": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {percentage_used:2}%",
|
||||||
|
"path": "/"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 20
|
||||||
|
},
|
||||||
|
"custom/launcher":{
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "wofi --show drun",
|
||||||
|
"on-click-right": "killall wofi"
|
||||||
|
},
|
||||||
|
"custom/power":{
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "wlogout"
|
||||||
|
},
|
||||||
|
"custom/updates":{
|
||||||
|
"format": " {} Update(s) ",
|
||||||
|
"exec": "checkupdates | wc -l",
|
||||||
|
"interval": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
99
waybar/style.css
Normal file
99
waybar/style.css
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
* {
|
||||||
|
font-size: 15px;
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: #292b2e;
|
||||||
|
color: #fdf6e3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-right-arrow-dark,
|
||||||
|
#custom-left-arrow-dark {
|
||||||
|
color: #1a1a1a;
|
||||||
|
}
|
||||||
|
#custom-right-arrow-light,
|
||||||
|
#custom-left-arrow-light {
|
||||||
|
color: #292b2e;
|
||||||
|
background: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-updates {
|
||||||
|
color: #F3881F;
|
||||||
|
background: #1a1a1a;
|
||||||
|
}
|
||||||
|
#custom-power {
|
||||||
|
color: #ff8080;
|
||||||
|
background: #1a1a1a;
|
||||||
|
}
|
||||||
|
#custom-launcher,
|
||||||
|
#workspaces,
|
||||||
|
#clock.1,
|
||||||
|
#clock.2,
|
||||||
|
#clock.3,
|
||||||
|
#pulseaudio,
|
||||||
|
#battery,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#memory,
|
||||||
|
#cpu,
|
||||||
|
#disk,
|
||||||
|
#tray {
|
||||||
|
background: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging, #battery.plugged {
|
||||||
|
color: #00ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
color: #FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 2px;
|
||||||
|
color: #fdf6e3;
|
||||||
|
}
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: #268bd2;
|
||||||
|
}
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
}
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: #1a1a1a;
|
||||||
|
border: #1a1a1a;
|
||||||
|
padding: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
color: #b5e8e0;
|
||||||
|
}
|
||||||
|
#backlight {
|
||||||
|
color: #ffff80;
|
||||||
|
}
|
||||||
|
#pulseaudio {
|
||||||
|
color: #268bd2;
|
||||||
|
}
|
||||||
|
#memory {
|
||||||
|
color: #2aa198;
|
||||||
|
}
|
||||||
|
#cpu {
|
||||||
|
color: #6c71c4;
|
||||||
|
}
|
||||||
|
#disk {
|
||||||
|
color: #b58900;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#pulseaudio,
|
||||||
|
#backlight,
|
||||||
|
#battery,
|
||||||
|
#memory,
|
||||||
|
#cpu,
|
||||||
|
#tray,
|
||||||
|
#network,
|
||||||
|
#disk {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
18
wlogout/layout
Normal file
18
wlogout/layout
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"label" : "lock",
|
||||||
|
"action" : "hyprlock",
|
||||||
|
"text" : "Lock",
|
||||||
|
"keybind" : "l"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "shutdown",
|
||||||
|
"action" : "systemctl poweroff",
|
||||||
|
"text" : "Shutdown",
|
||||||
|
"keybind" : "s"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"label" : "reboot",
|
||||||
|
"action" : "systemctl reboot",
|
||||||
|
"text" : "Reboot",
|
||||||
|
"keybind" : "r"
|
||||||
|
}
|
||||||
39
wlogout/style.css
Normal file
39
wlogout/style.css
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
* {
|
||||||
|
background-image: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: rgba(12, 12, 12, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 0;
|
||||||
|
border-color: black;
|
||||||
|
text-decoration-color: #FFFFFF;
|
||||||
|
color: #FFFFFF;
|
||||||
|
background-color: #1E1E1E;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
border-radius: 50% / 15%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
background-size: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus, button:active, button:hover {
|
||||||
|
background-color: #bec497;
|
||||||
|
outline-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#lock {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#shutdown {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
|
||||||
|
}
|
||||||
|
|
||||||
|
#reboot {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
|
||||||
|
}
|
||||||
15
wofi/config
Normal file
15
wofi/config
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
width=600
|
||||||
|
height=350
|
||||||
|
location=center
|
||||||
|
show=drun
|
||||||
|
prompt=Search...
|
||||||
|
filter_rate=100
|
||||||
|
allow_markup=true
|
||||||
|
no_actions=true
|
||||||
|
halign=fill
|
||||||
|
orientation=vertical
|
||||||
|
content_halign=fill
|
||||||
|
insensitive=true
|
||||||
|
allow_images=true
|
||||||
|
image_size=40
|
||||||
|
gtk_dark=true
|
||||||
75
wofi/style.css
Normal file
75
wofi/style.css
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 5px solid #1e1e2e;
|
||||||
|
background-color: #cdd6f4;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
padding: 4px;
|
||||||
|
margin: 4px;
|
||||||
|
padding-left: 20px;
|
||||||
|
border: none;
|
||||||
|
color: #cdd6f4;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
outline: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
margin: 10px;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
#input:focus {
|
||||||
|
border: 0px solid #1e1e2e;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 4px;
|
||||||
|
border: 10px solid #1e1e2e;
|
||||||
|
color: #cdd6f4;
|
||||||
|
font-weight: bold;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 0px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin-top: 5px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
/* background: rgb(255,255,255); */
|
||||||
|
}
|
||||||
|
|
||||||
|
#img:selected {
|
||||||
|
background-color: #89b4fa;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text:selected {
|
||||||
|
color: #cdd6f4;
|
||||||
|
margin: 0px 0px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
margin: 0px 0px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
margin: 0px 0px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user