added bunch of stuff
This commit is contained in:
@@ -15,11 +15,6 @@ set $menu killall wofi || wofi
|
|||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
# Screenshot (Grimshot)
|
# 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+g exec grimshot save active
|
||||||
bindsym $mod+Shift+g exec grimshot save area
|
bindsym $mod+Shift+g exec grimshot save area
|
||||||
bindsym $mod+Mod1+g exec grimshot save output
|
bindsym $mod+Mod1+g exec grimshot save output
|
||||||
@@ -37,9 +32,6 @@ smart_gaps on
|
|||||||
gaps inner 10
|
gaps inner 10
|
||||||
gaps outer 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
|
# Hide mouse cursor after inactivity
|
||||||
seat * hide_cursor 4000
|
seat * hide_cursor 4000
|
||||||
|
|
||||||
@@ -52,8 +44,12 @@ exec --no-startup-id flashfocus
|
|||||||
# polkit
|
# polkit
|
||||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
# Network Manager tray applet
|
||||||
exec /usr/bin/nm-applet --indicator
|
exec /usr/bin/nm-applet --indicator
|
||||||
|
|
||||||
|
# Bluetooth manager tray applet
|
||||||
|
exec /usr/bin/blueman-applet
|
||||||
|
|
||||||
# Gtk crap
|
# Gtk crap
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||||
@@ -263,15 +259,7 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+r 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:
|
# Status Bar:
|
||||||
#
|
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
# position top
|
# position top
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Image
|
# Image
|
||||||
image=/home/opal/dotfiles/.config/wallpapers/fog-wallpaper.jpg
|
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
||||||
scaling=fill
|
scaling=fill
|
||||||
|
|
||||||
# Indicator
|
# Indicator
|
||||||
|
|||||||
@@ -73,8 +73,8 @@
|
|||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": " Idle Inhibit On",
|
||||||
"deactivated": "",
|
"deactivated": " Idle Inhibit Off",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock:hover {
|
#clock:hover {
|
||||||
background: rgba(40,40,40, .95);
|
background: rgba(40,40,40, .95);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -111,7 +111,6 @@ window#waybar {
|
|||||||
|
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
margin: 7px 4px 0 4px;
|
margin: 7px 4px 0 4px;
|
||||||
background: rgba(40,40,40, .65);
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 0px 5px 0px 5px;
|
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"
|
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||||
. $ALIAS_LOCATION
|
. $ALIAS_LOCATION
|
||||||
. $FUNCTION_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 install="sudo pacman -S"
|
||||||
alias remove="sudo pacman -R"
|
alias remove="sudo pacman -R"
|
||||||
alias search="pacman -Ss"
|
alias search="pacman -Ss"
|
||||||
@@ -6,15 +6,12 @@ alias upgrade="sudo pacman -Syyu"
|
|||||||
|
|
||||||
# ~ Commands ~ #
|
# ~ Commands ~ #
|
||||||
alias ip="ip -c"
|
alias ip="ip -c"
|
||||||
alias rm="rm -i"
|
alias rm="trash -v --trash-dir=$HOME/.trash"
|
||||||
alias ols="ls-with-file-mode-bits.sh"
|
alias cls="ls-awk"
|
||||||
|
|
||||||
# ~ Derp ~ #
|
# ~ Derp ~ #
|
||||||
alias unmount="umount"
|
alias unmount="umount"
|
||||||
alias please="sudo"
|
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 ~ #
|
# ~ Source Zsh Configuration ~ #
|
||||||
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
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.
|
# 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
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
# Screenshot (Grimshot)
|
# 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+g exec grimshot save active
|
||||||
bindsym $mod+Shift+g exec grimshot save area
|
bindsym $mod+Shift+g exec grimshot save area
|
||||||
bindsym $mod+Mod1+g exec grimshot save output
|
bindsym $mod+Mod1+g exec grimshot save output
|
||||||
@@ -55,11 +50,6 @@ smart_gaps on
|
|||||||
gaps inner 10
|
gaps inner 10
|
||||||
gaps outer 10
|
gaps outer 10
|
||||||
#+end_src
|
#+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
|
** Mouse Behavior
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||||
# Hide mouse cursor after inactivity
|
# Hide mouse cursor after inactivity
|
||||||
@@ -76,8 +66,12 @@ exec --no-startup-id flashfocus
|
|||||||
# polkit
|
# polkit
|
||||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
|
# Network Manager tray applet
|
||||||
exec /usr/bin/nm-applet --indicator
|
exec /usr/bin/nm-applet --indicator
|
||||||
|
|
||||||
|
# Bluetooth manager tray applet
|
||||||
|
exec /usr/bin/blueman-applet
|
||||||
|
|
||||||
# Gtk crap
|
# Gtk crap
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||||
@@ -306,20 +300,10 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+r 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
|
#+end_src
|
||||||
** Bar
|
** Bar
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
#+begin_src shell :tangle ~/dotfiles/.config/sway/config :mkdirp yes
|
||||||
#
|
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
#
|
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
# position top
|
# position top
|
||||||
@@ -335,8 +319,6 @@ bar {
|
|||||||
# inactive_workspace #32323200 #32323200 #5c5c5c
|
# inactive_workspace #32323200 #32323200 #5c5c5c
|
||||||
# }
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Swaynag
|
** Swaynag
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/swaynag/config :mkdirp yes
|
#+begin_src shell :tangle ~/dotfiles/.config/swaynag/config :mkdirp yes
|
||||||
@@ -360,7 +342,7 @@ button-padding=5
|
|||||||
** Swaylock
|
** Swaylock
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/swaylock/config :mkdirp yes
|
#+begin_src shell :tangle ~/dotfiles/.config/swaylock/config :mkdirp yes
|
||||||
# Image
|
# Image
|
||||||
image=/home/opal/dotfiles/.config/wallpapers/fog-wallpaper.jpg
|
image=/home/opal/dotfiles/.config/wallpapers/3.jpg
|
||||||
scaling=fill
|
scaling=fill
|
||||||
|
|
||||||
# Indicator
|
# Indicator
|
||||||
@@ -448,8 +430,8 @@ show-failed-attempts
|
|||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": " Idle Inhibit On",
|
||||||
"deactivated": "",
|
"deactivated": " Idle Inhibit Off",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -544,7 +526,7 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock:hover {
|
#clock:hover {
|
||||||
background: rgba(40,40,40, .95);
|
background: rgba(40,40,40, .95);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -569,7 +551,6 @@ window#waybar {
|
|||||||
|
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
margin: 7px 4px 0 4px;
|
margin: 7px 4px 0 4px;
|
||||||
background: rgba(40,40,40, .65);
|
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 0px 5px 0px 5px;
|
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"
|
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||||
. $ALIAS_LOCATION
|
. $ALIAS_LOCATION
|
||||||
. $FUNCTION_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
|
#+end_src
|
||||||
|
|
||||||
** zsh_aliases
|
** zsh_aliases
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/zsh_aliases
|
#+begin_src shell :tangle ~/dotfiles/.config/zsh/zsh_aliases
|
||||||
# ~ Guix #
|
# ~ Pacman ~ #
|
||||||
alias install="sudo pacman -S"
|
alias install="sudo pacman -S"
|
||||||
alias remove="sudo pacman -R"
|
alias remove="sudo pacman -R"
|
||||||
alias search="pacman -Ss"
|
alias search="pacman -Ss"
|
||||||
@@ -706,26 +679,23 @@ alias upgrade="sudo pacman -Syyu"
|
|||||||
|
|
||||||
# ~ Commands ~ #
|
# ~ Commands ~ #
|
||||||
alias ip="ip -c"
|
alias ip="ip -c"
|
||||||
alias rm="rm -i"
|
alias rm="trash -v --trash-dir=$HOME/.trash"
|
||||||
alias ols="ls-with-file-mode-bits.sh"
|
alias cls="ls-awk"
|
||||||
|
|
||||||
# ~ Derp ~ #
|
# ~ Derp ~ #
|
||||||
alias unmount="umount"
|
alias unmount="umount"
|
||||||
alias please="sudo"
|
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 ~ #
|
# ~ Source Zsh Configuration ~ #
|
||||||
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
alias zshrcsource="source ~/dotfiles/.config/zsh/.zshrc"
|
||||||
#+end_src
|
#+end_src
|
||||||
** zsh_functions
|
** zsh_functions
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/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.
|
# 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
|
#+end_src
|
||||||
** zprofile
|
** zprofile
|
||||||
#+begin_src shell :tangle ~/dotfiles/.config/zsh/.zprofile :mkdirp yes
|
#+begin_src shell :tangle ~/dotfiles/.config/zsh/.zprofile :mkdirp yes
|
||||||
|
|||||||
Reference in New Issue
Block a user