changing bash stuff
This commit is contained in:
+59
-33
@@ -1,8 +1,6 @@
|
||||
exec_always {
|
||||
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Darker'
|
||||
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
|
||||
}
|
||||
|
||||
#######################
|
||||
# VARIABLES
|
||||
#######################
|
||||
# Directional Keys
|
||||
set $left h
|
||||
set $down j
|
||||
@@ -19,6 +17,10 @@ set $term alacritty
|
||||
#set $menu bemenu-run -p Run: -l 10 -c -M 500 --fn 'Hack 16' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00'
|
||||
set $menu rofi -show
|
||||
|
||||
#######################
|
||||
# GENERAL KEYBINDS
|
||||
#######################
|
||||
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
@@ -165,15 +167,22 @@ 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/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 ~/.local/bin/bookmark_insert
|
||||
|
||||
|
||||
#######################
|
||||
# EXECS
|
||||
#######################
|
||||
# Set GTK/icon theme
|
||||
exec_always {
|
||||
gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Darker'
|
||||
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
|
||||
}
|
||||
|
||||
|
||||
# Notifications
|
||||
exec_always dunst
|
||||
|
||||
@@ -189,9 +198,6 @@ exec_always /usr/bin/nm-applet
|
||||
# Bluetooth manager tray applet
|
||||
exec /usr/bin/blueman-applet
|
||||
|
||||
# Clamshell Mode Script
|
||||
#exec_always ~/.config/sway/clamshell.sh
|
||||
|
||||
# KDE polkit
|
||||
exec /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
|
||||
|
||||
@@ -199,6 +205,18 @@ exec /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
# Idle configuration
|
||||
exec swayidle -w \
|
||||
timeout 3200 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||
|
||||
|
||||
#######################
|
||||
# DECORATIONS
|
||||
#######################
|
||||
|
||||
# Window Borders
|
||||
default_border pixel 3
|
||||
default_floating_border none
|
||||
@@ -217,26 +235,10 @@ smart_gaps on
|
||||
gaps inner 5
|
||||
gaps outer 2
|
||||
|
||||
# Idle configuration
|
||||
exec swayidle -w \
|
||||
timeout 3200 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f'
|
||||
# timeout 15 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||
#######################
|
||||
# INPUTS
|
||||
#######################
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||
# dwt enabled
|
||||
# tap enabled
|
||||
# natural_scroll enabled
|
||||
# middle_emulation enabled
|
||||
# }
|
||||
#
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
input type:keyboard {
|
||||
# Capslock key should work as escape key
|
||||
# See /usr/share/X11/xkb/rules/xorg.lst for options
|
||||
@@ -252,30 +254,49 @@ input type:keyboard {
|
||||
# events disable
|
||||
#}
|
||||
|
||||
# Set trackpoint sensitivity
|
||||
# Set trackpoint sensitivity on Laptop
|
||||
input "2:10:TPPS/2_Elan_TrackPoint" {
|
||||
pointer_accel 1.0
|
||||
accel_profile "flat"
|
||||
}
|
||||
|
||||
# Set trackpoint sensitivity on Tex Shinobi USB
|
||||
input "1241:1031:USB-HID_Keyboard_Mouse" {
|
||||
pointer_accel 0.3
|
||||
accel_profile "flat"
|
||||
}
|
||||
|
||||
# Hide mouse cursor after inactivity
|
||||
seat * hide_cursor 10000
|
||||
|
||||
# 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
|
||||
|
||||
#######################
|
||||
# OUTPUTS
|
||||
#######################
|
||||
|
||||
# Lid stuff
|
||||
set $laptop eDP-1
|
||||
bindswitch --reload --locked lid:on output $laptop disable
|
||||
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
|
||||
|
||||
# Enable/Disable extra HDMI screens
|
||||
bindsym $mod+Shift+m output "HDMI-A-1" enable
|
||||
bindsym $mod+Shift+n output "HDMI-A-1" disable
|
||||
|
||||
|
||||
#######################
|
||||
# WORKSPACES
|
||||
#######################
|
||||
|
||||
# Assign workspaces to numbers
|
||||
set $ws1 number "1"
|
||||
set $ws2 number "2"
|
||||
@@ -303,6 +324,11 @@ bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+0 move container to workspace $ws7
|
||||
|
||||
|
||||
#######################
|
||||
# BAR
|
||||
#######################
|
||||
|
||||
# Status Bar:
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
|
||||
Reference in New Issue
Block a user