Adaugat configuri pentru shell, wm si bar
Signed-off-by: hellisabove <robertnedela15@gmail.com>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# layout and style
|
||||
bottom_bar : false
|
||||
height : 22
|
||||
vertical_padding : 0
|
||||
horizontal_padding : 0
|
||||
text_padding : 0
|
||||
border : false
|
||||
border_width : 0
|
||||
background_colour : #171717
|
||||
foreground_colour : #fffde0
|
||||
border_colour : #717394
|
||||
font : monospace
|
||||
font_size : 17
|
||||
|
||||
# modules
|
||||
module.0.name : clock
|
||||
module.0.cmd : date '+%H:%M:%S'
|
||||
module.0.enabled : true
|
||||
module.0.interval : 1
|
||||
|
||||
module.1.name : date
|
||||
module.1.cmd : date '+%d-%m-%Y'
|
||||
module.1.enabled : true
|
||||
module.1.interval : 60
|
||||
|
||||
#module.2.name : battery
|
||||
#module.2.cmd : cat /sys/class/power_supply/BAT0/capacity 2>/dev/null | sed 's/$/%/' || echo 'N/A'
|
||||
#module.2.enabled : false
|
||||
#module.2.interval : 30
|
||||
|
||||
module.3.name : volume
|
||||
module.3.cmd : amixer get Master | grep -o '[0-9]*%' | head -1 || echo 'N/A'
|
||||
module.3.enabled : true
|
||||
module.3.interval : 5
|
||||
|
||||
module.4.name : cpu
|
||||
module.4.cmd : top -bn1 | grep 'Cpu(s)' | sed 's/.*, *\([0-9.]*\)%* id.*/\1/' | awk '{print 100-$1"%"}'
|
||||
module.4.enabled : true
|
||||
module.4.interval : 3
|
||||
|
||||
module.5.name : mem
|
||||
module.5.cmd : free -h | awk '/^Mem/ { print $3 }' | sed s/i//g
|
||||
module.5.enabled : true
|
||||
module.5.interval : 3
|
||||
|
||||
workspaces.labels : one two three four five six seven eight nine
|
||||
workspaces.active_background : #717394
|
||||
workspaces.active_foreground : #fffde0
|
||||
workspaces.inactive_background : #171717
|
||||
workspaces.inactive_foreground : #fffde0
|
||||
workspaces.padding_left : 10
|
||||
workspaces.padding_right : 10
|
||||
workspaces.spacing : 0
|
||||
workspaces.position : left
|
||||
@@ -0,0 +1,122 @@
|
||||
# Colour Themes:
|
||||
focused_border_colour : #000000
|
||||
unfocused_border_colour : #444444
|
||||
swap_border_colour : #eeeeee
|
||||
|
||||
# General Options:
|
||||
gaps : 5
|
||||
border_width : 3
|
||||
master_width : 50 # Percentage of screen width
|
||||
resize_master_amount : 1
|
||||
resize_stack_amount : 20
|
||||
move_window_amount : 50
|
||||
resize_window_amount : 50
|
||||
snap_distance : 5
|
||||
motion_throttle : 60 # Set to screen refresh rate for smoothest motions
|
||||
should_float : "thunar", "obs"
|
||||
new_win_focus : true
|
||||
warp_cursor : true
|
||||
floating_on_top : true
|
||||
new_win_master : false
|
||||
can_swallow : "st"
|
||||
can_be_swallowed : "mpv", "sxiv"
|
||||
start_fullscreen : "mpv", "vlc"
|
||||
|
||||
# Keybinds:
|
||||
# Commands must be surrounded with ""
|
||||
# Function calls don't need this
|
||||
mod_key : super
|
||||
|
||||
# Application Launchers:
|
||||
bind : mod + Return : "kitty -e zsh"
|
||||
bind : mod + b : "librewolf"
|
||||
bind : mod + d : "rofi -show drun"
|
||||
|
||||
# Window Management:
|
||||
call : mod + q : close_window
|
||||
call : mod + c : centre_window
|
||||
call : mod + shift + q : quit
|
||||
call : mod + m : toggle_monocle
|
||||
|
||||
# Focus Movement:
|
||||
call : mod + j : focus_next
|
||||
call : mod + k : focus_prev
|
||||
|
||||
# Monitor Focus:
|
||||
call : mod + comma : focus_prev_mon
|
||||
call : mod + period : focus_next_mon
|
||||
|
||||
# Move Window Between Monitors:
|
||||
call : mod + shift + comma : move_prev_mon
|
||||
call : mod + shift + period : move_next_mon
|
||||
|
||||
# Master/Stack Movement
|
||||
call : mod + shift + j : master_next
|
||||
call : mod + shift + k : master_prev
|
||||
|
||||
# Master Area Resize
|
||||
call : mod + l : master_increase
|
||||
call : mod + h : master_decrease
|
||||
|
||||
# Stack Window Resize
|
||||
call : mod + ctrl + l : stack_increase
|
||||
call : mod + ctrl + h : stack_decrease
|
||||
|
||||
# Keyboard Window Management
|
||||
call : mod + Up : move_win_up
|
||||
call : mod + Down : move_win_down
|
||||
call : mod + Left : move_win_left
|
||||
call : mod + Right : move_win_right
|
||||
|
||||
call : mod + shift + Up : resize_win_up
|
||||
call : mod + shift + Down : resize_win_down
|
||||
call : mod + shift + Left : resize_win_left
|
||||
call : mod + shift + Right : resize_win_right
|
||||
|
||||
# Gaps
|
||||
call : mod + equal : increase_gaps
|
||||
call : mod + minus : decrease_gaps
|
||||
|
||||
# Floating/Fullscreen
|
||||
call : mod + space : toggle_floating
|
||||
call : mod + shift + space : global_floating
|
||||
call : mod + shift + f : fullscreen
|
||||
|
||||
# Reload Config
|
||||
call : mod + shift + r : reload_config
|
||||
|
||||
# Scratchpads
|
||||
scratchpad : mod + alt + 1 : create 1
|
||||
scratchpad : mod + alt + 2 : create 2
|
||||
scratchpad : mod + alt + 3 : create 3
|
||||
scratchpad : mod + alt + 4 : create 4
|
||||
|
||||
scratchpad : mod + ctrl + 1 : toggle 1
|
||||
scratchpad : mod + ctrl + 2 : toggle 2
|
||||
scratchpad : mod + ctrl + 3 : toggle 3
|
||||
scratchpad : mod + ctrl + 4 : toggle 4
|
||||
|
||||
scratchpad : mod + alt + shift + 1 : remove 1
|
||||
scratchpad : mod + alt + shift + 2 : remove 2
|
||||
scratchpad : mod + alt + shift + 3 : remove 3
|
||||
scratchpad : mod + alt + shift + 4 : remove 4
|
||||
|
||||
# Workspaces (1-9)
|
||||
workspace : mod + 1 : move 1
|
||||
workspace : mod + shift + 1 : swap 1
|
||||
workspace : mod + 2 : move 2
|
||||
workspace : mod + shift + 2 : swap 2
|
||||
workspace : mod + 3 : move 3
|
||||
workspace : mod + shift + 3 : swap 3
|
||||
workspace : mod + 4 : move 4
|
||||
workspace : mod + shift + 4 : swap 4
|
||||
workspace : mod + 5 : move 5
|
||||
workspace : mod + shift + 5 : swap 5
|
||||
workspace : mod + 6 : move 6
|
||||
workspace : mod + shift + 6 : swap 6
|
||||
workspace : mod + 7 : move 7
|
||||
workspace : mod + shift + 7 : swap 7
|
||||
workspace : mod + 8 : move 8
|
||||
workspace : mod + shift + 8 : swap 8
|
||||
workspace : mod + 9 : move 9
|
||||
workspace : mod + shift + 9 : swap 9
|
||||
@@ -1,20 +1,31 @@
|
||||
# Set environment variables
|
||||
export PATH=~/msvc-toolchain/bin/x64:~/.local/bin:$PATH
|
||||
export PATH=~/.local/bin:~/.bun/bin:$PATH
|
||||
export GPG_TTY=$(tty)
|
||||
export EDITOR=nvim
|
||||
|
||||
# Completion
|
||||
autoload -U compinit
|
||||
compinit
|
||||
|
||||
# Correction
|
||||
setopt correctall
|
||||
|
||||
# Set aliases
|
||||
alias ls="eza -lh"
|
||||
alias sudo="doas"
|
||||
|
||||
# Activate plugins(for Arch)
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
#source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Activate plugins(for other distros)
|
||||
#source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
#source /usr/share/sh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Activate plugins(for Gentoo)
|
||||
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Change prompt
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
neofetch
|
||||
|
||||
Reference in New Issue
Block a user