added bunch of stuff
This commit is contained in:
@@ -15,11 +15,6 @@ set $menu killall wofi || wofi
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Screenshot (Grimshot)
|
||||
|
||||
# Super+P: Current window
|
||||
# Super+Shift+p: Select area
|
||||
# Super+Alt+p Current output
|
||||
# Super+Ctrl+p Select a window
|
||||
bindsym $mod+g exec grimshot save active
|
||||
bindsym $mod+Shift+g exec grimshot save area
|
||||
bindsym $mod+Mod1+g exec grimshot save output
|
||||
@@ -37,9 +32,6 @@ smart_gaps on
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
|
||||
# Dismiss notifications
|
||||
bindsym --locked $mod+d exec sh -c "notify-send 'Do Not Disturb' 'Turning on Do Not Disturb Mode'; sleep 2; makoctl set-mode do-not-disturb"
|
||||
|
||||
# Hide mouse cursor after inactivity
|
||||
seat * hide_cursor 4000
|
||||
|
||||
@@ -52,8 +44,12 @@ exec --no-startup-id flashfocus
|
||||
# polkit
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Network Manager tray applet
|
||||
exec /usr/bin/nm-applet --indicator
|
||||
|
||||
# Bluetooth manager tray applet
|
||||
exec /usr/bin/blueman-applet
|
||||
|
||||
# Gtk crap
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
@@ -263,15 +259,7 @@ mode "resize" {
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# exec_always import-gsettings \
|
||||
# gtk-theme:gtk-theme-name \
|
||||
# icon-theme:gtk-icon-theme-name \
|
||||
# cursor-theme:gtk-cursor-theme-name
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
# position top
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Image
|
||||
image=/home/opal/dotfiles/.config/wallpapers/fog-wallpaper.jpg
|
||||
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
||||
scaling=fill
|
||||
|
||||
# Indicator
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
"idle_inhibitor": {
|
||||
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": "",
|
||||
"activated": " Idle Inhibit On",
|
||||
"deactivated": " Idle Inhibit Off",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ window#waybar {
|
||||
}
|
||||
|
||||
#clock:hover {
|
||||
background: rgba(40,40,40, .95);
|
||||
background: rgba(40,40,40, .95);
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,6 @@ window#waybar {
|
||||
|
||||
#idle_inhibitor {
|
||||
margin: 7px 4px 0 4px;
|
||||
background: rgba(40,40,40, .65);
|
||||
border-radius: 6px;
|
||||
padding: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
@@ -23,11 +23,3 @@ ALIAS_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_aliases"
|
||||
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||
. $ALIAS_LOCATION
|
||||
. $FUNCTION_LOCATION
|
||||
|
||||
# ## SSH Agent
|
||||
# if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||
# ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
# fi
|
||||
# if [ ! "$SSH_AUTH_SOCK" ]; then
|
||||
# . "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
|
||||
# fi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# ~ Guix #
|
||||
# ~ Pacman ~ #
|
||||
alias install="sudo pacman -S"
|
||||
alias remove="sudo pacman -R"
|
||||
alias search="pacman -Ss"
|
||||
@@ -6,15 +6,12 @@ alias upgrade="sudo pacman -Syyu"
|
||||
|
||||
# ~ Commands ~ #
|
||||
alias ip="ip -c"
|
||||
alias rm="rm -i"
|
||||
alias ols="ls-with-file-mode-bits.sh"
|
||||
alias rm="trash -v --trash-dir=$HOME/.trash"
|
||||
alias cls="ls-awk"
|
||||
|
||||
# ~ Derp ~ #
|
||||
alias unmount="umount"
|
||||
alias please="sudo"
|
||||
alias yeet="rm -rf"
|
||||
alias :q='echo This aint a file, dingus.'
|
||||
alias :wq='echo This aint a file, dingus.'
|
||||
|
||||
# ~ Source Zsh Configuration ~ #
|
||||
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# ~ Move files to trash folder instead ~ #
|
||||
del () { mv "$@" $HOME/.local/share/trash/files/.; }
|
||||
|
||||
# Make directory and CD into it.
|
||||
mk () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
mkcd () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
|
||||
ls-awk () { ls -l --color=always | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/) \
|
||||
*2^(8-i));if(k)printf("%0o ",k);print}' }
|
||||
|
||||
60
desktop.org
60
desktop.org
@@ -29,11 +29,6 @@ set $menu killall wofi || wofi
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Screenshot (Grimshot)
|
||||
|
||||
# Super+P: Current window
|
||||
# Super+Shift+p: Select area
|
||||
# Super+Alt+p Current output
|
||||
# Super+Ctrl+p Select a window
|
||||
bindsym $mod+g exec grimshot save active
|
||||
bindsym $mod+Shift+g exec grimshot save area
|
||||
bindsym $mod+Mod1+g exec grimshot save output
|
||||
@@ -55,11 +50,6 @@ smart_gaps on
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
#+end_src
|
||||
** Notifications
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
# Dismiss notifications
|
||||
bindsym --locked $mod+d exec sh -c "notify-send 'Do Not Disturb' 'Turning on Do Not Disturb Mode'; sleep 2; makoctl set-mode do-not-disturb"
|
||||
#+end_src
|
||||
** Mouse Behavior
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
# Hide mouse cursor after inactivity
|
||||
@@ -76,8 +66,12 @@ exec --no-startup-id flashfocus
|
||||
# polkit
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Network Manager tray applet
|
||||
exec /usr/bin/nm-applet --indicator
|
||||
|
||||
# Bluetooth manager tray applet
|
||||
exec /usr/bin/blueman-applet
|
||||
|
||||
# Gtk crap
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
@@ -306,20 +300,10 @@ mode "resize" {
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
#+end_src
|
||||
** Import GTK Theme
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
# exec_always import-gsettings \
|
||||
# gtk-theme:gtk-theme-name \
|
||||
# icon-theme:gtk-icon-theme-name \
|
||||
# cursor-theme:gtk-cursor-theme-name
|
||||
#+end_src
|
||||
** Bar
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
# position top
|
||||
@@ -335,8 +319,6 @@ bar {
|
||||
# inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
#+end_src
|
||||
** Swaynag
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/swaynag/config :mkdirp yes
|
||||
@@ -360,7 +342,7 @@ button-padding=5
|
||||
** Swaylock
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/swaylock/config :mkdirp yes
|
||||
# Image
|
||||
image=/home/opal/dotfiles/.config/wallpapers/fog-wallpaper.jpg
|
||||
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
||||
scaling=fill
|
||||
|
||||
# Indicator
|
||||
@@ -448,8 +430,8 @@ show-failed-attempts
|
||||
"idle_inhibitor": {
|
||||
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": "",
|
||||
"activated": " Idle Inhibit On",
|
||||
"deactivated": " Idle Inhibit Off",
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -544,7 +526,7 @@ window#waybar {
|
||||
}
|
||||
|
||||
#clock:hover {
|
||||
background: rgba(40,40,40, .95);
|
||||
background: rgba(40,40,40, .95);
|
||||
}
|
||||
|
||||
|
||||
@@ -569,7 +551,6 @@ window#waybar {
|
||||
|
||||
#idle_inhibitor {
|
||||
margin: 7px 4px 0 4px;
|
||||
background: rgba(40,40,40, .65);
|
||||
border-radius: 6px;
|
||||
padding: 0px 5px 0px 5px;
|
||||
}
|
||||
@@ -686,19 +667,11 @@ ALIAS_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_aliases"
|
||||
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||
. $ALIAS_LOCATION
|
||||
. $FUNCTION_LOCATION
|
||||
|
||||
# ## SSH Agent
|
||||
# if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||
# ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
# fi
|
||||
# if [ ! "$SSH_AUTH_SOCK" ]; then
|
||||
# . "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
|
||||
# fi
|
||||
#+end_src
|
||||
|
||||
** zsh_aliases
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/zsh_aliases
|
||||
# ~ Guix #
|
||||
# ~ Pacman ~ #
|
||||
alias install="sudo pacman -S"
|
||||
alias remove="sudo pacman -R"
|
||||
alias search="pacman -Ss"
|
||||
@@ -706,26 +679,23 @@ alias upgrade="sudo pacman -Syyu"
|
||||
|
||||
# ~ Commands ~ #
|
||||
alias ip="ip -c"
|
||||
alias rm="rm -i"
|
||||
alias ols="ls-with-file-mode-bits.sh"
|
||||
alias rm="trash -v --trash-dir=$HOME/.trash"
|
||||
alias cls="ls-awk"
|
||||
|
||||
# ~ Derp ~ #
|
||||
alias unmount="umount"
|
||||
alias please="sudo"
|
||||
alias yeet="rm -rf"
|
||||
alias :q='echo This aint a file, dingus.'
|
||||
alias :wq='echo This aint a file, dingus.'
|
||||
|
||||
# ~ Source Zsh Configuration ~ #
|
||||
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
||||
#+end_src
|
||||
** zsh_functions
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/zsh_functions
|
||||
# ~ Move files to trash folder instead ~ #
|
||||
del () { mv "$@" $HOME/.local/share/trash/files/.; }
|
||||
|
||||
# Make directory and CD into it.
|
||||
mk () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
mkcd () { mkdir -p -- "$1" && cd -P -- "$1" }
|
||||
|
||||
ls-awk () { ls -l --color=always | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/) \
|
||||
*2^(8-i));if(k)printf("%0o ",k);print}' }
|
||||
#+end_src
|
||||
** zprofile
|
||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/.zprofile :mkdirp yes
|
||||
|
||||
Reference in New Issue
Block a user