lotsof stuff
This commit is contained in:
1
.bashrc
1
.bashrc
@@ -56,7 +56,6 @@ export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
export LC_WHO=rorlando
|
||||
|
||||
# Scripts Path
|
||||
PATH=$PATH:~/code/scripts
|
||||
PATH=$PATH:~/.local/bin
|
||||
PATH=$PATH:~/bin
|
||||
PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
@@ -6,3 +6,17 @@ video/quicktime=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.deskto
|
||||
inode/directory=pcmanfm-qt
|
||||
video/mp4=org.videolan.VLC.desktop;
|
||||
video/quicktime=org.videolan.VLC.desktop
|
||||
|
||||
text/html=brave-browser.desktop
|
||||
application/xhtml+xml=brave-browser.desktop
|
||||
application/xml=brave-browser.desktop
|
||||
text/xml=brave-browser.desktop
|
||||
text/xsl=brave-browser.desktop
|
||||
application/rss+xml=brave-browser.desktop
|
||||
application/atom+xml=brave-browser.desktop
|
||||
x-scheme-handler/http=brave-browser.desktop
|
||||
x-scheme-handler/https=brave-browser.desktop
|
||||
x-scheme-handler/ftp=brave-browser.desktop
|
||||
x-scheme-handler/chrome=brave-browser.desktop
|
||||
x-scheme-handler/about=brave-browser.desktop
|
||||
x-scheme-handler/mailto=brave-browser.desktop
|
||||
|
||||
@@ -101,7 +101,7 @@ bindsym $mod+v splitv
|
||||
# Switch the current container between different layout styles
|
||||
#bindsym $mod+s layout stacking
|
||||
#bindsym $mod+w layout tabbed
|
||||
# bindsym $mod+e layout toggle split
|
||||
#bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
@@ -126,6 +126,7 @@ bindsym $mod+Shift+minus move scratchpad
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#
|
||||
# Resizing containers:
|
||||
#
|
||||
@@ -164,6 +165,15 @@ bindsym $mod+Ctrl+g exec grimshot save window
|
||||
# Turn the system off
|
||||
bindsym $mod+Shift+e exec wlogout -p layer-shell
|
||||
|
||||
# Enable/disable trackpad
|
||||
bindsym $mod+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events disabled
|
||||
bindsym $mod+Shift+t exec swaymsg input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" events enabled
|
||||
|
||||
# Bookmarks
|
||||
bindsym $mod+Insert exec wtype $(grep -v '^#' ~/.local/share/bookmarks | bemenu -p Bookmark: -l 50 -c -M 500 --fn 'Hack 16' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00' | cut -d ' ' -f1)
|
||||
|
||||
bindsym $mod+Shift+Insert exec bookmark-insert.sh
|
||||
|
||||
# Notifications
|
||||
exec_always dunst
|
||||
|
||||
@@ -199,6 +209,8 @@ for_window [class="Emacs"] opacity $opacity
|
||||
for_window [app_id="strawberry"] opacity $opacity
|
||||
for_window [app_id="pcmanfm-qt"] opacity $opacity
|
||||
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable
|
||||
for_window [app_id="bemenu"] floating enable
|
||||
for_window [app_id="bemenu"] layer top
|
||||
|
||||
# Gaps
|
||||
smart_gaps on
|
||||
@@ -239,7 +251,7 @@ input "1739:52824:SYNA8008:00_06CB:CE58_Touchpad" {
|
||||
events disabled
|
||||
}
|
||||
|
||||
input 2:10:TPPS/2_Elan_TrackPoint pointer_accel 0.45
|
||||
input 2:10:TPPS/2_Elan_TrackPoint pointer_accel 1.0
|
||||
|
||||
|
||||
# Hide mouse cursor after inactivity
|
||||
@@ -252,13 +264,13 @@ bindswitch --reload --locked lid:off output $laptop enable
|
||||
# Monitors
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
output HDMI-A-1 scale 2.0
|
||||
|
||||
# Wallpaper
|
||||
output * bg ~/.config/wallpapers/exterminator.png fill
|
||||
|
||||
bindsym $mod+Shift+m output "HDMI-A-1" enable
|
||||
bindsym $mod+Shift+n output "HDMI-A-1" disable
|
||||
|
||||
# Wallpaper
|
||||
|
||||
# Assign workspaces to numbers
|
||||
set $ws1 number "1"
|
||||
set $ws2 number "2"
|
||||
|
||||
8
.local/bin/bookmark_insert
Executable file
8
.local/bin/bookmark_insert
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
bookmark="$(wl-copy -o)"
|
||||
file="~/.local/share/bookmarks"
|
||||
|
||||
|
||||
echo "$bookmark" >> "$file"
|
||||
3
.local/share/bookmarks
Normal file
3
.local/share/bookmarks
Normal file
@@ -0,0 +1,3 @@
|
||||
https://git.opal.sh
|
||||
https://rss.opal.sh
|
||||
https://landchad.net
|
||||
Reference in New Issue
Block a user