more comments

This commit is contained in:
wt committed 2024-11-21 17:34:07 +07:00
1 parent f726195fbe
commit e8f2e69335
4 files changed
+154 -161

No files matched your search

+4 -4
View File
@@ -7,13 +7,13 @@ env = QT_SCALE_FACTOR,1
#----------------------------------- #-----------------------------------
#---------- GTK --------------- #---------- GTK ---------------
env = GTK_THEME,Adwaita-dark env = GTK_THEME,Adwaita-dark # setting up gtk theme
env = GTK2_RC_FILES,~/.config/gtk-2.0/gtkrc env = GTK2_RC_FILES,/home/tola/dotfiles/gtk-2.0/gtkrc # setting up gtk2 theme
#------------------------------ #------------------------------
#-------------------- hyprcursor ------------ #-------------------- hyprcursor ------------
env = HYPRCURSOR_THEME,Bibata-Modern-Ice env = HYPRCURSOR_THEME,Bibata-Modern-Ice # settings up hyprcursor theme
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 # setting up hyprcursor size
#-------------------------------------------- #--------------------------------------------
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
+10 -14
View File
@@ -1,16 +1,13 @@
# Hypland config created by Anatoly Mironcenko # Hypland config created by Anatoly Mironcenko
source=~/.config/hypr/programs.conf source=~/.config/hypr/programs.conf # import programs configuration
source=~/.config/hypr/keybinds.conf source=~/.config/hypr/keybinds.conf # import keybinds configuration
source=~/dotfiles/hypr/hyprgrass.conf source=~/dotfiles/hypr/hyprgrass.conf # import hyprgrass configuration
source=~/.config/hypr/windowrules.conf source=~/.config/hypr/windowrules.conf # import windowrules configuration
source=~/.config/hypr/startup.conf source=~/.config/hypr/startup.conf # import startup configuration
source=~/dotfiles/hypr/monitors.conf # import monitors configuration
source=~/dotfiles/hypr/monitors.conf source=~/dotfiles/hypr/environment.conf # import environments configuration
source=~/dotfiles/hypr/keyboard.conf # import keyboard configuration
source=~/dotfiles/hypr/environment.conf
source=~/dotfiles/hypr/keyboard.conf
#----------------------- system config --------------------------------- #----------------------- system config ---------------------------------
general { general {
@@ -26,9 +23,8 @@ general {
#apply_sens_to_raw = 0 #apply_sens_to_raw = 0
} }
source=~/dotfiles/hypr/decoration.conf source=~/dotfiles/hypr/decoration.conf # import decoration configuration
source=~/dotfiles/hypr/animation.conf # import animation configuration
source=~/dotfiles/hypr/animation.conf
dwindle { dwindle {
pseudotile = false pseudotile = false
+70 -73
View File
@@ -5,126 +5,123 @@ $mainMod = ALT
#-------------- #--------------
#---------------- applications --------------------- #---------------- applications ---------------------
bind = $mainMod, Return, exec, $terminal bind = $mainMod, Return, exec, $terminal # open default terminal
bind = $mainMod, T, exec, $fileManager bind = $mainMod, T, exec, $fileManager # open default file manager
bind = $mainMod, D, exec, $menu bind = $mainMod, D, exec, $menu # open applications menu
bind = , XF86LaunchB, exec, $menu bind = , XF86LaunchB, exec, $menu # open applications menu
bind = $mainMod, B, exec, $locker bind = $mainMod, B, exec, $locker # open locker
bind = $mainMod, G, exec, $browser bind = $mainMod, G, exec, $browser # open default browser
bind = $mainMod SHIFT, F, exec, firefox bind = $mainMod SHIFT, F, exec, firefox # open firefox
bind = $mainMod, A, exec, telegram-desktop bind = $mainMod, A, exec, telegram-desktop # open telegram
bind = $mainMod, P, exec, $dashboard bind = $mainMod, P, exec, $dashboard # open dashboard
bind = $mainMod, C, exec, $clipboard bind = $mainMod, C, exec, $clipboard # open clipboard
bind = $mainMod SHIFT, P, exec, $powermenu bind = $mainMod SHIFT, P, exec, $powermenu # open powermenu
bind = $mainMod SHIFT, O, exec, $onscreenkeyboard bind = $mainMod SHIFT, O, exec, $onscreenkeyboard # open onscreenkeyboard
bind = $mainMod, S, exec, spotify-launcher bind = $mainMod, S, exec, spotify-launcher # open spotify
bind = $mainMod, Y, exec, $calculator bind = $mainMod, Y, exec, $calculator # open calculator
bind = $mainMod, E, exec, $emojipicker bind = $mainMod, E, exec, $emojipicker # open emojipicker
bind = $mainMod, M, exec, ~/dotfiles/ags/media/toggle_media bind = $mainMod, Z, exec, swaync-client -t # toggle swaync
bind = $mainMod, Z, exec, swaync-client -t bind = $mainMod SHIFT, R, exec, swaync-client -R # reload swaync configuration
bind = $mainMod SHIFT, R, exec, swaync-client -R bind = $mainMod, U, exec, ~/dotfiles/hypr/bin/startupdate.sh # start upgrade system
bind = $mainMod, U, exec, ~/dotfiles/hypr/bin/startupdate.sh bind = $mainMod, O, exec, code ~/dotfiles # open vscode to edit configuration directory
bind = $mainMod, O, exec, code ~/dotfiles bind = $mainMod SHIFT, A, exec, hyprwall # run hyprwall application
bind = $mainMod SHIFT, A, exec, hyprwall bind = $mainMod SHIFT, G, exec, hyprgui # run hyprgui application
bind = $mainMod SHIFT, G, exec, hyprgui
#--------------------------------------------------- #---------------------------------------------------
#-------------- windows -------------------------- #-------------- windows --------------------------
# bind = $mainMod, J, togglesplit, # dwindle # bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen, # toggle fullscreen window
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating, # toggle floating window
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive, # close window
#------------------------------------------------- #-------------------------------------------------
#-------- quit from Hyprland --------- #-------- quit from Hyprland ---------
bind = $mainMod SHIFT, E, exit, bind = $mainMod SHIFT, E, exit, # exit from hyprland
#------------------------------------- #-------------------------------------
#---------------- screenshot ---------------------------------------- #---------------- screenshot ----------------------------------------
bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -d)" - | wl-copy bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard
bind = $mainMod, P, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y%m%d-%H%M%S).png bind = $mainMod, P, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y%m%d-%H%M%S).png # get screenshot and save to screenshot directory
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard
#-------------------------------------------------------------------- #--------------------------------------------------------------------
#--------------- pamixer -------------------- #--------------- pamixer --------------------
# bind = $mainMod, equal, exec, pamixer -i 10 # bind = $mainMod, equal, exec, pamixer -i 10
# bind = $mainMod, minus, exec, pamixer -d 10 # bind = $mainMod, minus, exec, pamixer -d 10
# bind = $mainMod SHIFT, M, exec, pamixer -t # bind = $mainMod SHIFT, M, exec, pamixer -t
bind = $mainMod, equal, exec, swayosd-client --output-volume raise bind = $mainMod, equal, exec, swayosd-client --output-volume raise # raise volume
bind = $mainMod, minus, exec, swayosd-client --output-volume lower bind = $mainMod, minus, exec, swayosd-client --output-volume lower # lower volume
bind = $mainMod SHIFT, M, exec, swayosd-client --output-volume mute-toggle bind = $mainMod SHIFT, M, exec, swayosd-client --output-volume mute-toggle # toggle mute volume
#------------------- for xf86AudioVolumes ----------- #------------------- for xf86AudioVolumes -----------
# bind = , XF86AudioLowerVolume, exec, pamixer -d 5 # bind = , XF86AudioLowerVolume, exec, pamixer -d 5
# bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 # bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
# bind = , XF86AudioMicMute, exec, pamixer --default-source -m # bind = , XF86AudioMicMute, exec, pamixer --default-source -m
# bind = , XF86AudioMute, exec, pamixer -t # bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower # lower volume
bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise # raise volume
bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle # toggle mute mic
bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # toggle mute volume
bind = , XF86AudioPlay, exec, playerctl play-pause bind = , XF86AudioPlay, exec, playerctl play-pause # play pause music
bind = , XF86AudioPause, exec, playerctl play-pause bind = , XF86AudioPause, exec, playerctl play-pause # play pause music
bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioNext, exec, playerctl next # next song player
bind = , XF86AudioPrev, exec, playerctl previous bind = , XF86AudioPrev, exec, playerctl previous # previous song player
bind = $mainMod, bracketleft, exec, playerctl previous bind = $mainMod, bracketleft, exec, playerctl previous # previous song player
bind = $mainMod, bracketright, exec, playerctl next bind = $mainMod, bracketright, exec, playerctl next # next song player
bind = $mainMod, backslash, exec, playerctl play-pause bind = $mainMod, backslash, exec, playerctl play-pause # play pause music
#---------------------------------------------------- #----------------------------------------------------
#-------------------------------------------- #--------------------------------------------
#--------------- playerctl --------------------------- #--------------- playerctl ---------------------------
bind = $mainMod, space, exec, playerctl play-pause bind = $mainMod, space, exec, playerctl play-pause # play pause music
bind = , Pause, exec, playerctl play-pause bind = , Pause, exec, playerctl play-pause # play puse music
#----------------------------------------------------- #-----------------------------------------------------
#------------------ brightness ---------------------- #------------------ brightness ----------------------
# bind = $mainMod SHIFT, minus, exec, brightnessctl s 10%- # bind = $mainMod SHIFT, minus, exec, brightnessctl s 10%-
# bind = $mainMod SHIFT, equal, exec, brightnessctl s 10%+ # bind = $mainMod SHIFT, equal, exec, brightnessctl s 10%+
bind = $mainMod SHIFT, minus, exec, swayosd-client --brightness lower bind = $mainMod SHIFT, minus, exec, swayosd-client --brightness lower # lower screen brightness
bind = $mainMod SHIFT, equal, exec, swayosd-client --brightness raise bind = $mainMod SHIFT, equal, exec, swayosd-client --brightness raise # rause screen brightness
#------------ for xf86MonBrightness ----------------- #------------ for xf86MonBrightness -----------------
# bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%- # bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
# bind = , XF86MonBrightnessUp, exec, brightnessctl s 10%+ # bind = , XF86MonBrightnessUp, exec, brightnessctl s 10%+
bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower # lower screen brightness
bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise # raise screen brightness
#---------------------------------------------------- #----------------------------------------------------
#-------------- for XF86KbdBrightness keyboard brightness --------------- #-------------- for XF86KbdBrightness keyboard brightness ---------------
bind = , XF86KbdBrightnessUp, exec, brightnessctl --device smc::kbd_backlight s 10%+ bind = , XF86KbdBrightnessUp, exec, brightnessctl --device smc::kbd_backlight s 10%+ # raise keyboard brightness
bind = , XF86KbdBrightnessDown, exec, brightnessctl --device smc::kbd_backlight s 10%- bind = , XF86KbdBrightnessDown, exec, brightnessctl --device smc::kbd_backlight s 10%- # lower keyboard brightness
#------------------------------------------------------------------------ #------------------------------------------------------------------------
#---------------------------------------------------- #----------------------------------------------------
#----------------- Move focus ---------- #----------------- Move focus ----------
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l # move focus to left window
bind = $mainMod, right, movefocus, r bind = $mainMod, right, movefocus, r # move focus to right window
bind = $mainMod, up, movefocus, u bind = $mainMod, up, movefocus, u # move focus to up window
bind = $mainMod, down, movefocus, d bind = $mainMod, down, movefocus, d # move focus to down window
bind = $mainMod, J, movefocus, d # move focus to down window
bind = $mainMod, J, movefocus, d bind = $mainMod, K, movefocus, u # move focus to up window
bind = $mainMod, K, movefocus, u bind = $mainMod, H, movefocus, l # move focus to left window
bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r # move focus to right window
bind = $mainMod, L, movefocus, r
#--------------------------------------- #---------------------------------------
#---- Move windows --------------------------- #---- Move windows ---------------------------
bind = $mainMod SHIFT, lift, movewindow, l bind = $mainMod SHIFT, lift, movewindow, l # move window to left
bind = $mainMod SHIFT, right, movewindow, r bind = $mainMod SHIFT, right, movewindow, r # move window to right
bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, up, movewindow, u # move window to up
bind = $mainMod SHIFT, down, movewindow, d bind = $mainMod SHIFT, down, movewindow, d # move window to down
bind = $mainMod SHIFT, J, movewindow, d # move window to down
bind = $mainMod SHIFT, J, movewindow, d bind = $mainMod SHIFT, K, movewindow, u # move window to up
bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, H, movewindow, l # move window to left
bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, L, movewindow, r # move window to right
bind = $mainMod SHIFT, L, movewindow, r
#--------------------------------------------- #---------------------------------------------
#--------- Switch workspaces ------------------------- #--------- Switch workspaces -------------------------
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1 # switch to first workspace
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2 # switch to second workspace
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3 # switch to third workspace
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4 # switch to fourth workspace
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7
+70 -70
View File
@@ -1,11 +1,11 @@
#--- path --- #--- path ---
export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.cargo/bin export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.cargo/bin
export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc # gtk2 theme
#------------ #------------
#--- colors --- #--- colors ---
. ~/dotfiles/shell/colors.sh . ~/dotfiles/shell/colors.sh # include bash colors
#-------------- #--------------
#--- sys --- #--- sys ---
@@ -19,85 +19,85 @@ alias una='uname -a' # system name
alias ifcnf='ifconfig' # ifconfig alias ifcnf='ifconfig' # ifconfig
alias sudo='sudo -p "Give me your fucking password: "' # sudo prompt alias alias sudo='sudo -p "Give me your fucking password: "' # sudo prompt alias
#--- pacman --- #--- pacman ---
alias p='sudo pacman' # pacman alias p='sudo pacman' # pacman
alias psy='sudo pacman -Sy' # update repositories alias psy='sudo pacman -Sy' # update repositories
alias psyu='sudo pacman -Syu' # upgrade system alias psyu='sudo pacman -Syu' # upgrade system
alias pi='sudo pacman -S' # install package alias pi='sudo pacman -S' # install package
alias psc='sudo pacman -Ss' # search package in repository alias psc='sudo pacman -Ss' # search package in repository
alias pqdtq='sudo pacman -Qdtq' # list files without dependencies alias pqdtq='sudo pacman -Qdtq' # list files without dependencies
alias pq='sudo pacman -Q' # list installed packages alias pq='sudo pacman -Q' # list installed packages
alias pql='sudo pacman -Ql' # list files in packages alias pql='sudo pacman -Ql' # list files in packages
alias prm='sudo pacman -R' # delete pacman package alias prm='sudo pacman -R' # delete pacman package
alias prns='sudo pacman -Rns' # delete pacman package with all dependencies alias prns='sudo pacman -Rns' # delete pacman package with all dependencies
#-------------- #--------------
#--- apt --- #--- apt ---
alias aptu='sudo apt update' # update apt repositories alias aptu='sudo apt update' # update apt repositories
alias apti='sudo apt install -y' # install apt package alias apti='sudo apt install -y' # install apt package
alias aptui='sudo apt upgrade -y' # upgrade apt packages alias aptui='sudo apt upgrade -y' # upgrade apt packages
alias aptrm='sudo apt remove -y' # remove apt package alias aptrm='sudo apt remove -y' # remove apt package
alias aptautorm='sudo apt autoremove -y' # remove apt package with dependencies alias aptautorm='sudo apt autoremove -y' # remove apt package with dependencies
#----------- #-----------
alias ipr='ip route' # show routes alias ipr='ip route' # show routes
alias ipa='ip addr' # show addresses alias ipa='ip addr' # show addresses
alias ipl='ip link' # show links alias ipl='ip link' # show links
alias sctl='systemctl' # systemctl alias sctl='systemctl' # systemctl
alias sctls='systemctl start' # service start alias sctls='systemctl start' # service start
alias sctlst='systemctl status' # service status alias sctlst='systemctl status' # service status
alias sctlp='systemctl stop' # service stop alias sctlp='systemctl stop' # service stop
alias H='Hyprland' # start Hyprland alias H='Hyprland' # start Hyprland
alias sx='startx' # startx - start xorg alias sx='startx' # startx - start xorg
#----------- #-----------
#--- git --- #--- git ---
alias g='git' # git alias g='git' # git
alias ga='git add' # add unstaged changes alias ga='git add' # add unstaged changes
alias gaa='git add --all' # add all unstaged changes alias gaa='git add --all' # add all unstaged changes
alias gb='git branch' # create branch alias gb='git branch' # create branch
alias gba='git branch --all' # list all branches alias gba='git branch --all' # list all branches
alias gbd='git branch --delete' # delete branch alias gbd='git branch --delete' # delete branch
alias gbD='git branch --delete --force' # force delete branch alias gbD='git branch --delete --force' # force delete branch
alias gco='git checkout' # checkout to another branch alias gco='git checkout' # checkout to another branch
alias gcb='git checkout -b' # checkout and create branch alias gcb='git checkout -b' # checkout and create branch
alias gc='git clone' # clone from remote repository alias gc='git clone' # clone from remote repository
alias gcl='git clone --recursive' # clone recursive with submodules alias gcl='git clone --recursive' # clone recursive with submodules
alias gcam='git commit --all --message' # commit with commit message alias gcam='git commit --all --message' # commit with commit message
alias gd='git diff' # create diff alias gd='git diff' # create diff
alias gcf='git config --list' # show config alias gcf='git config --list' # show config
alias gf='git fetch' # fetch from remote repository alias gf='git fetch' # fetch from remote repository
alias ghh='git help' # help alias ghh='git help' # help
alias glgg='git log --graph' # log with graph alias glgg='git log --graph' # log with graph
alias glg='git log --stat' # log with stat alias glg='git log --stat' # log with stat
alias gm='git merge' # merge branches alias gm='git merge' # merge branches
alias gl='git pull' # pull from upstream repository alias gl='git pull' # pull from upstream repository
alias gpr='git pull --rebase' # pull from upstream repository and rebase local changes alias gpr='git pull --rebase' # pull from upstream repository and rebase local changes
alias gp='git push' # push to upstream repository alias gp='git push' # push to upstream repository
alias gpo='git push --set-upstream origin' # push to upstream repository and set upstream branch alias gpo='git push --set-upstream origin' # push to upstream repository and set upstream branch
alias gra='git remote add' # add remote repository alias gra='git remote add' # add remote repository
alias grrm='git remote remove' # remove remote repository alias grrm='git remote remove' # remove remote repository
alias gstall='git stash --all' # stash all in repository alias gstall='git stash --all' # stash all in repository
alias gstc='git stash clear' # clear git stash alias gstc='git stash clear' # clear git stash
alias gst='git status' # status repository alias gst='git status' # status repository
#----------- #-----------
#--- docker --- #--- docker ---
alias dpa='docker ps -a' # list all docker containers alias dpa='docker ps -a' # list all docker containers
alias dp='docker ps' # list active docker containers alias dp='docker ps' # list active docker containers
alias dia='docker images -a' # list all docker images alias dia='docker images -a' # list all docker images
alias di='docker images' # list docker images alias di='docker images' # list docker images
alias dcrm='docker container rm' # remove docker container alias dcrm='docker container rm' # remove docker container
alias dirm='docker image rm' # remove docker image alias dirm='docker image rm' # remove docker image
alias dr='docker run' # run docker image as container alias dr='docker run' # run docker image as container
alias ds='docker start' # start docker container alias ds='docker start' # start docker container
alias dst='docker stop' # stop docker container alias dst='docker stop' # stop docker container
alias dspa='docker system prune -a' # delete all docker data alias dspa='docker system prune -a' # delete all docker data
alias dcaq='docker ps -aq' # stop all containers alias dcaq='docker ps -aq' # stop all containers
#-------------- #--------------
#--- bluetooth --- #--- bluetooth ---
alias bctl="bluetoothctl" alias bctl="bluetoothctl" # bluetoothctl
alias bctlc="bluetoothctl connect" alias bctlc="bluetoothctl connect" # connect bluetooth device
alias bctld="bluetoothctl disconnect" alias bctld="bluetoothctl disconnect" # disconnect bluetooth device
alias bctll="bluetoothctl devices" alias bctll="bluetoothctl devices" # show bluetooth devices
alias bctls="bluetoothctl scan on" alias bctls="bluetoothctl scan on" # scan bluetooth devices
#----------------- #-----------------