New Termianls

This commit is contained in:
OdiousImp2604
2021-02-04 13:19:46 +00:00
committed by GitHub
parent 8cd1f75dcb
commit c6796b1ff6
13 changed files with 164 additions and 11 deletions

22
.config/sway/autostart Normal file
View 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 &

View File

@@ -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

View File

@@ -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

View File

@@ -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
View 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
View 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
View 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
View 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

View File

@@ -89,6 +89,13 @@
"format-disconnected": "⚠ Disconnected",
"tooltip-format": "{ifname}: {ipaddr}"
},
"network#vpn": {
"interface": "tun0",
"format": "嬨 {essid} ({signalStrength}%)",
"format-disconnected": "⚠ Disconnected",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"sway/mode": {
"format": "{}",
@@ -108,9 +115,9 @@
//"format":"{icon}",
"format-icons": {
"1": "",
"2": "",
"2": "",
"3": "",
"4": "",
"4": "",
}
},
"pulseaudio": {
@@ -128,7 +135,7 @@
"phone": "",
"portable": "",
"car": "",
"default": [""]
"default": [""]
},
"on-click": "pavucontrol",
"on-scroll-up": "pamixer -ui 2",
@@ -182,7 +189,7 @@
},
"custom/power": {
"format":"",
"format":"",
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
"tooltip": false,
},

23
.config/waybar/gruv.css Normal file
View File

@@ -0,0 +1,23 @@
/*
*
* Base16 Gruvbox dark, soft
* Author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
*
*/
@define-color base00 #32302f;
@define-color base01 #3c3836;
@define-color base02 #504945;
@define-color base03 #665c54;
@define-color base04 #bdae93;
@define-color base05 #d5c4a1;
@define-color base06 #ebdbb2;
@define-color base07 #fbf1c7;
@define-color base08 #fb4934;
@define-color base09 #fe8019;
@define-color base0A #fabd2f;
@define-color base0B #b8bb26;
@define-color base0C #8ec07c;
@define-color base0D #83a598;
@define-color base0E #d3869b;
@define-color base0F #d65d0e;

25
.config/waybar/nord.css Normal file
View File

@@ -0,0 +1,25 @@
/*
*
* Base16 Nord
* Author: arcticicestudio
*
*/
@define-color base10 #353B49;
@define-color base00 #2e3440;
@define-color base01 #3b4252;
@define-color base02 #434c5e;
@define-color base03 #4c566a;
@define-color base04 #d8dee9;
@define-color base05 #e5e9f0;
@define-color base06 #eceff4;
@define-color base07 #a4c3b9;
@define-color base08 #7ca4b4;
@define-color base09 #67788b;
@define-color base0A #78a7c5;
@define-color base0B #bf616a;
@define-color base0B-light #c57078;
@define-color base0C #d08770;
@define-color base0D #ebcb8b;
@define-color base0E #c1dbae;
@define-color base0F #b48ead;

View File

@@ -0,0 +1,11 @@
#!/bin/bash
pid=`pgrep wf-recorder`
status=$?
if [ $status != 0 ]
then
echo '{"class": "nothing"}'
else
echo '{"class": "recording"}'
fi;

View File

@@ -159,6 +159,9 @@ Arc-Dark Color Scheme
font-weight: bold;
}
#workspaces{
font-size:15px;
}
#workspaces button {
border-bottom: 3px solid transparent;
margin-bottom: 0px;