New Termianls
This commit is contained in:
22
.config/sway/autostart
Normal file
22
.config/sway/autostart
Normal file
@@ -0,0 +1,22 @@
|
||||
# Autostart
|
||||
exec ~/.azotebg
|
||||
exec mako
|
||||
exec autotiling
|
||||
exec /usr/lib/kdeconnectd
|
||||
exec kdeconnect-indicator
|
||||
exec nm-applet --indicator
|
||||
exec mpd ~/.config/mpd/mpd.conf
|
||||
exec mpDris2
|
||||
exec "syncthing -no-browser"
|
||||
exec sed -i 's/hidden-mode=river-auto/hidden-mode=always/g' ~/.config/lavalauncher/config.conf
|
||||
exec lavalauncher -c ~/.config/lavalauncher/config.conf
|
||||
exec sh /home/bryan/.nix-profile/etc/profile.d/nix.sh
|
||||
exec_always /usr/share/sway/scripts/inactive-windows-transparency.py --opacity 0.8
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob --border-color '#ff5e81ac' --background-color '#cc2e3440' --bar-color '#ff5e81ac'
|
||||
exec 'fish -c "set -Ux XDG_CURRENT_DESKTOP sway"'
|
||||
|
||||
# Dynamic Wallpaper
|
||||
# exec "oguri -c ~/.config/oguri/config"
|
||||
# exec dwall -s flcl &
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
# Assign workspaces
|
||||
assign [app_id="Alacritty"] 1
|
||||
for_window [app_id="Alacritty"] focus
|
||||
assign [app_id="xfce4-terminal"] 1
|
||||
for_window [app_id="xfce4-terminal"] focus
|
||||
|
||||
assign [app_id="firefox"] 2
|
||||
for_window [app_id="firefox"] focus
|
||||
|
||||
assign [class="firefox"] 2
|
||||
for_window [class="firefox"] focus
|
||||
|
||||
assign [app_id=thunar] 3
|
||||
for_window [app_id=thunar] focus
|
||||
|
||||
assign [class="tutanota-desktop"] 4
|
||||
for_window [class="tutanota-desktop"] focus
|
||||
assign [class="Telegram"] 4
|
||||
for_window [class="Telegram"] focus
|
||||
|
||||
# set floating (nontiling)for apps needing it:
|
||||
for_window [class="Yad" instance="yad"] floating enable
|
||||
|
||||
@@ -5,4 +5,4 @@ exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec mako
|
||||
|
||||
# Network Applet
|
||||
exec nm-applet --indicator
|
||||
exec nm-applet --indicator
|
||||
|
||||
@@ -7,8 +7,8 @@ set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Your preferred terminal emulator
|
||||
set $term alacritty
|
||||
# Your preferred terminal emulator : Alt terminal is termite change below + line 1 in application_defaults
|
||||
set $term xfce4-terminal
|
||||
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
|
||||
17
.config/sway/decoration
Normal file
17
.config/sway/decoration
Normal file
@@ -0,0 +1,17 @@
|
||||
# Window decoration
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #4b6789 #4b6789 #eceff4 #434c5e #4b6789
|
||||
client.focused_inactive #353b49 #353b49 #d8dee9 #3b4252 #353b49
|
||||
client.unfocused #353b49 #353b49 #d8dee9 #3b4252 #353b49
|
||||
client.urgent #bf616a #bf616a #eceff4 #900000 #bf616a
|
||||
client.placeholder #000000 #0c0c0c #eceff4 #000000 #0c0c0c
|
||||
|
||||
# Title format for windows
|
||||
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
|
||||
for_window [shell="x_wayland"] title_format "%class - %title"
|
||||
|
||||
# Borders
|
||||
default_border pixel 3
|
||||
default_floating_border pixel 3
|
||||
|
||||
# smart_gaps on
|
||||
9
.config/sway/lockman.sh
Normal file
9
.config/sway/lockman.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Times the screen off and puts it to background
|
||||
swayidle \
|
||||
timeout 5 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' &
|
||||
# Locks the screen immediately
|
||||
swaylock -C ~/.config/swaylock/config
|
||||
# Kills last background task so idle timer doesn't keep running
|
||||
kill %%
|
||||
7
.config/sway/window.sh
Normal file
7
.config/sway/window.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
swaymsg -t get_tree |
|
||||
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] |
|
||||
select(.nodes==[]) | ((.id | tostring) + "" + .name)' |
|
||||
wofi --show dmenu | {
|
||||
read -r id name
|
||||
swaymsg "[con_id=$id]" focus
|
||||
}
|
||||
26
.config/sway/wmrules
Normal file
26
.config/sway/wmrules
Normal file
@@ -0,0 +1,26 @@
|
||||
# Windows Rules
|
||||
for_window [workspace="6"] layout tabbed
|
||||
for_window [app_id="imv"] floating enable, border pixel 3
|
||||
for_window [title=".+[Ss]haring (Indicator|your screen)"] floating enable, move to scratchpad
|
||||
for_window [title="Copying"] floating enable
|
||||
for_window [title="Authenticate"] resize set height 210px
|
||||
for_window [app_id="dolphin" window_type="utility"] floating enable
|
||||
for_window [title="Discord Updater"] floating enable
|
||||
for_window [title="File Already Exist"] floating enable
|
||||
for_window [app_id="pavucontrol"] floating enable, sticky enable, resize set width 550 px height 600px, move position cursor, move down 330
|
||||
# Gaps on second monitor
|
||||
smart_borders no_gaps
|
||||
workspace 6 gaps outer 0
|
||||
workspace 6 gaps inner 0
|
||||
workspace 7 gaps outer 5
|
||||
workspace 7 gaps inner 5
|
||||
workspace 8 gaps outer 5
|
||||
workspace 8 gaps inner 5
|
||||
# Assignments
|
||||
assign [app_id="lutris"] 4
|
||||
assign [app_id="gamehub"] 4
|
||||
assign [class="steam"] 4
|
||||
assign [class="Signal"] 6
|
||||
assign [app_id="discord"] 6
|
||||
assign [title="discord"] 6
|
||||
|
||||
Reference in New Issue
Block a user