Add files via upload
This commit is contained in:
53
config/alacritty/alacritty.yml
Normal file
53
config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: '0x282a36'
|
||||||
|
foreground: '0xf8f8f2'
|
||||||
|
cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
vi_mode_cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
search:
|
||||||
|
matches:
|
||||||
|
foreground: '0x44475a'
|
||||||
|
background: '0x50fa7b'
|
||||||
|
focused_match:
|
||||||
|
foreground: '0x44475a'
|
||||||
|
background: '0xffb86c'
|
||||||
|
bar:
|
||||||
|
background: '0x282a36'
|
||||||
|
foreground: '0xf8f8f2'
|
||||||
|
line_indicator:
|
||||||
|
foreground: None
|
||||||
|
background: None
|
||||||
|
selection:
|
||||||
|
text: CellForeground
|
||||||
|
background: '0x44475a'
|
||||||
|
normal:
|
||||||
|
black: '0x000000'
|
||||||
|
red: '0xff5555'
|
||||||
|
green: '0x50fa7b'
|
||||||
|
yellow: '0xf1fa8c'
|
||||||
|
blue: '0xbd93f9'
|
||||||
|
magenta: '0xff79c6'
|
||||||
|
cyan: '0x8be9fd'
|
||||||
|
white: '0xbfbfbf'
|
||||||
|
bright:
|
||||||
|
black: '0x4d4d4d'
|
||||||
|
red: '0xff6e67'
|
||||||
|
green: '0x5af78e'
|
||||||
|
yellow: '0xf4f99d'
|
||||||
|
blue: '0xcaa9fa'
|
||||||
|
magenta: '0xff92d0'
|
||||||
|
cyan: '0x9aedfe'
|
||||||
|
white: '0xe6e6e6'
|
||||||
|
dim:
|
||||||
|
black: '0x14151b'
|
||||||
|
red: '0xff2222'
|
||||||
|
green: '0x1ef956'
|
||||||
|
yellow: '0xebf85b'
|
||||||
|
blue: '0x4d5b86'
|
||||||
|
magenta: '0xff46b0'
|
||||||
|
cyan: '0x59dffc'
|
||||||
|
white: '0xe6e6d1'
|
||||||
20
config/mako/config
Normal file
20
config/mako/config
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
font=UbuntuMono 12.5
|
||||||
|
|
||||||
|
background-color=#4b3766
|
||||||
|
text-color=#e5e9f0
|
||||||
|
width=315
|
||||||
|
height=200
|
||||||
|
padding=10
|
||||||
|
margin=10
|
||||||
|
progress-color=over #eceff480
|
||||||
|
icon-path=/usr/share/icons/Papirus-Dark
|
||||||
|
max-icon-size=70
|
||||||
|
|
||||||
|
border-size=5
|
||||||
|
border-radius=0
|
||||||
|
border-color=#280436
|
||||||
|
|
||||||
|
default-timeout=5000
|
||||||
|
|
||||||
|
[urgency=high]
|
||||||
|
ignore-timeout=1
|
||||||
16
config/sway/autostart
Normal file
16
config/sway/autostart
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Autostart
|
||||||
|
|
||||||
|
#Notification
|
||||||
|
exec mako
|
||||||
|
#Network Applet
|
||||||
|
exec nm-applet --indicator
|
||||||
|
#Polkit Agnet (don't remove please unless replacing)
|
||||||
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
#Night Filter
|
||||||
|
#exec gammastep
|
||||||
|
|
||||||
|
|
||||||
|
#Wallpaper
|
||||||
|
exec swaybg -i $HOME/.config/sway/wallpaper.png
|
||||||
|
|
||||||
|
|
||||||
261
config/sway/config
Normal file
261
config/sway/config
Normal file
@@ -0,0 +1,261 @@
|
|||||||
|
##Welcome to your SWAY config!##
|
||||||
|
|
||||||
|
#Keyboard
|
||||||
|
input * xkb_layout "gb"
|
||||||
|
|
||||||
|
#Variables
|
||||||
|
|
||||||
|
# Logo key. Use Mod1 for Alt. Mod4 is the Super Key
|
||||||
|
set $mod Mod4
|
||||||
|
# Your preferred terminal emulator
|
||||||
|
set $term alacritty
|
||||||
|
# Your preferred application launcher
|
||||||
|
set $menu wofi -c ~/.config/wofi/config -I
|
||||||
|
|
||||||
|
#Font
|
||||||
|
font pango:Noto Sans Regular 10
|
||||||
|
|
||||||
|
# Set inner/outer gaps
|
||||||
|
gaps inner 2
|
||||||
|
gaps outer 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Status Bar:
|
||||||
|
|
||||||
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
bar {
|
||||||
|
swaybar_command waybar
|
||||||
|
#}
|
||||||
|
|
||||||
|
### Idle configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 1070 'swaylock -f -C ~/.config/swaylock/config'\
|
||||||
|
timeout 770 'swaymsg "output * dpms off"' \
|
||||||
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'swaylock -C ~/.config/swaylock/config'
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
|
|
||||||
|
# Screenlocking
|
||||||
|
bindsym $mod+f1 exec ~/.config/sway/scripts/lockman.sh
|
||||||
|
|
||||||
|
|
||||||
|
# Screenshot with grim and swappy
|
||||||
|
bindsym print exec ~/.config/sway/scripts/screenshotFull.sh
|
||||||
|
bindsym Shift+print exec ~/.config/sway/scripts/screenshotArea.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
input "1267:12377:ELAN1300:00_04F3:3059_Touchpad" {
|
||||||
|
dwt enabled
|
||||||
|
tap enabled
|
||||||
|
natural_scroll enabled
|
||||||
|
middle_emulation enabled
|
||||||
|
}
|
||||||
|
# Wacom tablet configuration
|
||||||
|
input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1
|
||||||
|
input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# thin borders:
|
||||||
|
hide_edge_borders both
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position:
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# start a terminal:
|
||||||
|
bindsym $mod+Return exec alacritty
|
||||||
|
|
||||||
|
# kill focused window:
|
||||||
|
bindsym $mod+c kill
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+o exec $menu
|
||||||
|
|
||||||
|
# change focus:
|
||||||
|
bindsym $mod+j focus left
|
||||||
|
bindsym $mod+k focus down
|
||||||
|
bindsym $mod+u focus up
|
||||||
|
bindsym $mod+ntilde focus right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# move focused window:
|
||||||
|
bindsym $mod+Shift+j move left
|
||||||
|
bindsym $mod+Shift+k move down
|
||||||
|
bindsym $mod+Shift+l move up
|
||||||
|
bindsym $mod+Shift+ntilde move right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# split in horizontal orientation:
|
||||||
|
bindsym $mod+h split h
|
||||||
|
|
||||||
|
# split in vertical orientation:
|
||||||
|
bindsym $mod+v split v
|
||||||
|
|
||||||
|
# enter fullscreen mode for the focused container:
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split):
|
||||||
|
bindsym $mod+Shift+s layout stacking
|
||||||
|
bindsym $mod+Shift+w layout tabbed
|
||||||
|
bindsym $mod+Shift+e layout toggle split
|
||||||
|
|
||||||
|
# toggle tiling / floating:
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows:
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container:
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# autostart start applications + bind program to workspace (uncomment to autostart):
|
||||||
|
for_window [app_id="Alacritty"] move to workspace 1
|
||||||
|
#exec alacritty
|
||||||
|
|
||||||
|
for_window [app_id=firefox] move to workspace 2
|
||||||
|
#exec firefox
|
||||||
|
|
||||||
|
for_window [app_id=thunar] move to workspace 3
|
||||||
|
#exec thunar
|
||||||
|
|
||||||
|
for_window [app_id=geany] move to workspace 4
|
||||||
|
#exec geany
|
||||||
|
|
||||||
|
# Scratchpad:
|
||||||
|
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
#Move the currently focused window to the scratchpad
|
||||||
|
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 alt+tab scratchpad show
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
#Autostart File
|
||||||
|
|
||||||
|
include ~/.config/sway/autostart
|
||||||
|
|
||||||
|
|
||||||
|
# set floating (nontiling)for apps needing it:
|
||||||
|
for_window [class="Yad" instance="yad"] floating enable
|
||||||
|
for_window [class="Galculator" instance="galculator"] floating enable
|
||||||
|
for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
||||||
|
|
||||||
|
|
||||||
|
# set floating (nontiling) for special apps:
|
||||||
|
for_window [class="Xsane" instance="xsane"] floating enable
|
||||||
|
for_window [class="Pavucontrol" instance="pavucontrol"] floating enable
|
||||||
|
for_window [class="qt5ct" instance="qt5ct"] floating enable
|
||||||
|
for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
||||||
|
for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable
|
||||||
|
for_window [class="Pamac-manager"] floating enable
|
||||||
|
|
||||||
|
# Title format for windows
|
||||||
|
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
|
||||||
|
for_window [shell="x_wayland"] title_format "%class - %title"
|
||||||
|
|
||||||
|
#Remove Titlebars
|
||||||
|
for_window [class="^.*"] border pixel 1
|
||||||
|
|
||||||
|
# resize floating windows with mouse scroll:
|
||||||
|
bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt
|
||||||
|
bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt
|
||||||
|
bindsym --whole-window --border $mod+shift+button4 resize shrink width 5 px or 5 ppt
|
||||||
|
bindsym --whole-window --border $mod+shift+button5 resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
|
#Switch to workspace
|
||||||
|
bindsym $mod+1 workspace 1
|
||||||
|
bindsym $mod+2 workspace 2
|
||||||
|
bindsym $mod+3 workspace 3
|
||||||
|
bindsym $mod+4 workspace 4
|
||||||
|
bindsym $mod+5 workspace 5
|
||||||
|
bindsym $mod+6 workspace 6
|
||||||
|
bindsym $mod+7 workspace 7
|
||||||
|
bindsym $mod+8 workspace 8
|
||||||
|
bindsym $mod+9 workspace 9
|
||||||
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
|
|
||||||
|
#Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
|
# reload the configuration file:
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
#App shortcuts
|
||||||
|
bindsym $mod+w exec "/usr/bin/firefox"
|
||||||
|
bindsym $mod+n exec "/usr/bin/thunar"
|
||||||
|
|
||||||
|
#Colours and Border
|
||||||
|
set $bg-color #2f343f
|
||||||
|
set $inactive-bg-color #2f343f
|
||||||
|
set $text-color #f3f4f5
|
||||||
|
set $inactive-text-color #676e7d
|
||||||
|
set $urgent-bg-color #e53935
|
||||||
|
set $indicator-color #a0a0a0
|
||||||
|
|
||||||
|
# set window colors:
|
||||||
|
# border background text indicator
|
||||||
|
client.focused $bg-color $bg-color $text-color $indicator-color
|
||||||
|
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
|
||||||
|
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
|
||||||
|
client.urgent $urgent-bg-color $urgent-bg-color $text-color $indicator-color
|
||||||
|
|
||||||
|
default_border pixel 4
|
||||||
|
|
||||||
|
# Special keys
|
||||||
|
|
||||||
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume 0 +3%
|
||||||
|
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume 0 -3%
|
||||||
|
bindsym --locked XF86AudioMute exec pactl set-sink-mute 0 toggle
|
||||||
|
|
||||||
|
bindsym XF86MonBrightnessUp exec brightnessctl -c backlight set +5%
|
||||||
|
bindsym XF86MonBrightnessDown exec brightnessctl -c backlight set 5%-
|
||||||
|
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
|
||||||
|
#GTK3 Theme and Icons. Set QT themes in qt5ct
|
||||||
|
#set $gnome-schema org.gnome.desktop.interface
|
||||||
|
#exec_always {
|
||||||
|
# gsettings set $gnome-schema gtk-theme 'Arc-Dark'
|
||||||
|
# gsettings set $gnome-schema icon-theme 'Papirus-Dark'
|
||||||
|
#}
|
||||||
|
|
||||||
BIN
config/sway/i3-lock-screen.png
Normal file
BIN
config/sway/i3-lock-screen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 477 KiB |
9
config/sway/scripts/lockman.sh
Normal file
9
config/sway/scripts/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 -i ~/.config/sway/i3-lock-screen.png -L -K --font JetBrainsMono -s tile
|
||||||
|
# Kills last background task so idle timer doesn't keep running
|
||||||
|
kill %%
|
||||||
3
config/sway/scripts/screenshotArea.sh
Normal file
3
config/sway/scripts/screenshotArea.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
FILENAME="screenshot-`date +%F-%T`"
|
||||||
|
grim -g "$(slurp)" /home/sway/FILENAME.png
|
||||||
3
config/sway/scripts/screenshotFull.sh
Normal file
3
config/sway/scripts/screenshotFull.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
FILENAME="screenshot-`date +%F-%T`"
|
||||||
|
grim /home/sway/FILENAME.png
|
||||||
BIN
config/sway/wallpaper.png
Normal file
BIN
config/sway/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
31
config/swaylock/config
Normal file
31
config/swaylock/config
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
clock
|
||||||
|
# indicator
|
||||||
|
# no-unlock-indicator
|
||||||
|
# daemonize
|
||||||
|
indicator-caps-lock
|
||||||
|
timestr=%a, %B %d
|
||||||
|
datestr=%I:%M %p
|
||||||
|
# datestr=%A
|
||||||
|
image=$HOME/Pictures/wallpapers/wallpaper.png
|
||||||
|
screenshots
|
||||||
|
scaling=fill
|
||||||
|
effect-scale=1.4
|
||||||
|
effect-blur=9x9
|
||||||
|
effect-vignette=0.9:0.9
|
||||||
|
font=JetbrainsMono
|
||||||
|
font-size=20
|
||||||
|
|
||||||
|
# Ring
|
||||||
|
indicator-radius=115
|
||||||
|
# line-uses-ring
|
||||||
|
line-color=#3b4252
|
||||||
|
text-color=#d8dee9
|
||||||
|
inside-color=#2e344098
|
||||||
|
inside-ver-color=#5e81ac
|
||||||
|
line-ver-color=#5e81ac
|
||||||
|
ring-ver-color=#5e81ac98
|
||||||
|
ring-color=#4c566a
|
||||||
|
key-hl-color=#5e81ac
|
||||||
|
separator-color=#4c566a
|
||||||
|
layout-text-color=#eceff4
|
||||||
|
line-wrong-color=#d08770
|
||||||
28
config/swaylock/qt5ct/qt5ct.conf
Normal file
28
config/swaylock/qt5ct/qt5ct.conf
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[Appearance]
|
||||||
|
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
||||||
|
custom_palette=false
|
||||||
|
icon_theme=Papirus
|
||||||
|
standard_dialogs=default
|
||||||
|
style=kvantum-dark
|
||||||
|
|
||||||
|
[Fonts]
|
||||||
|
fixed=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||||
|
general=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||||
|
|
||||||
|
[Interface]
|
||||||
|
activate_item_on_single_click=1
|
||||||
|
buttonbox_layout=0
|
||||||
|
cursor_flash_time=1000
|
||||||
|
dialog_buttons_have_icons=1
|
||||||
|
double_click_interval=400
|
||||||
|
gui_effects=@Invalid()
|
||||||
|
keyboard_scheme=2
|
||||||
|
menus_have_icons=true
|
||||||
|
show_shortcuts_in_context_menus=true
|
||||||
|
stylesheets=@Invalid()
|
||||||
|
toolbutton_style=4
|
||||||
|
underline_shortcut=1
|
||||||
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
|
[SettingsWindow]
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c\0\0\a\x80\0\0\0\"\0\0\xe\xff\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c)
|
||||||
197
config/waybar/config
Normal file
197
config/waybar/config
Normal file
@@ -0,0 +1,197 @@
|
|||||||
|
// =============================================================================
|
||||||
|
//
|
||||||
|
// Waybar configuration
|
||||||
|
//
|
||||||
|
// Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
|
||||||
|
//
|
||||||
|
// =============================================================================
|
||||||
|
|
||||||
|
{
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Global configuration
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
"layer": "top",
|
||||||
|
|
||||||
|
"position": "bottom",
|
||||||
|
|
||||||
|
// If height property would be not present, it'd be calculated dynamically
|
||||||
|
"height": 30,
|
||||||
|
|
||||||
|
"modules-left": [
|
||||||
|
"custom/launcher",
|
||||||
|
"sway/workspaces",
|
||||||
|
"sway/mode"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"network",
|
||||||
|
"pulseaudio",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"temperature",
|
||||||
|
"custom/keyboard-layout",
|
||||||
|
"battery",
|
||||||
|
"backlight",
|
||||||
|
"tray",
|
||||||
|
"clock#date",
|
||||||
|
"clock#time",
|
||||||
|
"custom/power"
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Modules
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"interval": 10,
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
// Connected to AC
|
||||||
|
"format": " {icon} {capacity}%", // Icon: bolt
|
||||||
|
// Not connected to AC
|
||||||
|
"format-discharging": "{icon} {capacity}%",
|
||||||
|
"format-icons": [
|
||||||
|
"", // Icon: battery-full
|
||||||
|
"", // Icon: battery-three-quarters
|
||||||
|
"", // Icon: battery-half
|
||||||
|
"", // Icon: battery-quarter
|
||||||
|
"" // Icon: battery-empty
|
||||||
|
],
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock#time": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "{:%H:%M:%S}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock#date": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
||||||
|
"tooltip-format": "{:%e %B %Y}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {usage}% ({load})", // Icon: microchip
|
||||||
|
"states": {
|
||||||
|
"warning": 70,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/keyboard-layout": {
|
||||||
|
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||||
|
// Interval set only as a fallback, as the value is updated by signal
|
||||||
|
"interval": 30,
|
||||||
|
"format": " {}", // Icon: keyboard
|
||||||
|
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||||
|
"signal": 1, // SIGHUP
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {}%", // Icon: memory
|
||||||
|
"states": {
|
||||||
|
"warning": 70,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"interval": 5,
|
||||||
|
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||||
|
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||||
|
"format-disconnected": "⚠ Disconnected",
|
||||||
|
"tooltip-format": "{ifname}: {ipaddr}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/window": {
|
||||||
|
"format": "{}",
|
||||||
|
"max-length": 120
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/workspaces": {
|
||||||
|
"disable-scroll": false,
|
||||||
|
"all-outputs": true,
|
||||||
|
"format": "{icon}",
|
||||||
|
},
|
||||||
|
"format-icons": {
|
||||||
|
"1": "",
|
||||||
|
"2": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} 奄 {volume:2}%",
|
||||||
|
"format-bluetooth": "{icon} {volume}%",
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"headphones": "",
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol",
|
||||||
|
"on-scroll-up": "pactl set-sink-volume 0 +3%",
|
||||||
|
"on-scroll-down": "pactl set-sink-volume 0 -3%",
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"interval": 5,
|
||||||
|
"format": "{icon} {temperatureC}°C",
|
||||||
|
"format-icons": [
|
||||||
|
"", // Icon: temperature-empty
|
||||||
|
"", // Icon: temperature-quarter
|
||||||
|
"", // Icon: temperature-half
|
||||||
|
"", // Icon: temperature-three-quarters
|
||||||
|
"" // Icon: temperature-full
|
||||||
|
],
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/power": {
|
||||||
|
"format": "⏻",
|
||||||
|
"on-click": "exec wlogout",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-alt": "{percent}% {icon}",
|
||||||
|
"format-alt-click": "click-right",
|
||||||
|
"format-icons": ["🌕", "🌔", "🌓", "🌒", "🌑"],
|
||||||
|
"on-scroll-down": "brightnessctl -c backlight set +5%",
|
||||||
|
"on-scroll-up": "brightnessctl -c backlight set 5%-"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/launcher": {
|
||||||
|
"format":" ",
|
||||||
|
"on-click": "exec wofi -c ~/.config/wofi/config -I",
|
||||||
|
"tooltip": false
|
||||||
|
}
|
||||||
|
}
|
||||||
214
config/waybar/style.css
Normal file
214
config/waybar/style.css
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
/* =============================================================================
|
||||||
|
*
|
||||||
|
* Waybar configuration
|
||||||
|
*
|
||||||
|
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
|
||||||
|
*
|
||||||
|
* =========================================================================== */
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------------------------
|
||||||
|
* Keyframes
|
||||||
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
@keyframes blink-warning {
|
||||||
|
70% {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
color: white;
|
||||||
|
background-color: orange;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink-critical {
|
||||||
|
70% {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
color: white;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------------------------
|
||||||
|
* Base styles
|
||||||
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
/* Reset all styles */
|
||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The whole bar */
|
||||||
|
#waybar {
|
||||||
|
background: #323232;
|
||||||
|
color: white;
|
||||||
|
font-family: Cantarell, Noto Sans, sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Each module */
|
||||||
|
#battery,
|
||||||
|
#clock,
|
||||||
|
#cpu,
|
||||||
|
#custom-keyboard-layout,
|
||||||
|
#memory,
|
||||||
|
#mode,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#temperature,
|
||||||
|
#tray {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------------------------
|
||||||
|
* Module styles
|
||||||
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning.discharging {
|
||||||
|
animation-name: blink-warning;
|
||||||
|
animation-duration: 3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical.discharging {
|
||||||
|
animation-name: blink-critical;
|
||||||
|
animation-duration: 2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #dbcb75;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
color: #40e612;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu.warning {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu.critical {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
color: #96c6f8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory.warning {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory.critical {
|
||||||
|
color: red;
|
||||||
|
animation-name: blink-critical;
|
||||||
|
animation-duration: 2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode {
|
||||||
|
background: #64727D;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
/* To compensate for the top border and still have vertical centering */
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color: #3f6e22 ;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: #208273;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
color: #208273;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-spotify {
|
||||||
|
color: rgb(102, 220, 105);
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
/* No styles */
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
/* No styles */
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
border-top: 2px solid transparent;
|
||||||
|
/* To compensate for the top border and still have vertical centering */
|
||||||
|
padding-bottom: 2px;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
border-color: #4c7899;
|
||||||
|
color: white;
|
||||||
|
background-color: #285577;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
border-color: #c9545d;
|
||||||
|
color: #c9545d;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
font-size: 17px;
|
||||||
|
margin-right: 7px;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-keyboard-layout {
|
||||||
|
color: #667c9d;
|
||||||
|
}
|
||||||
|
#custom-launcher {
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
19
config/wofi/config
Normal file
19
config/wofi/config
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
stylesheet=/home/sway/.config/wofi/style.css
|
||||||
|
hide_scroll=true
|
||||||
|
show=drun,run
|
||||||
|
width=700
|
||||||
|
lines=7
|
||||||
|
line_wrap=word
|
||||||
|
term=alacritty
|
||||||
|
location=middle
|
||||||
|
allow_markup=true
|
||||||
|
always_parse_args=true
|
||||||
|
#show_all=true
|
||||||
|
print_command=true
|
||||||
|
layer=overlay
|
||||||
|
insensitive=true
|
||||||
|
prompt=
|
||||||
|
image_size=15
|
||||||
|
display_generic=true
|
||||||
|
line_wrap=word
|
||||||
|
key_expand=Tab
|
||||||
59
config/wofi/style.css
Normal file
59
config/wofi/style.css
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
#entry {
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 3px;
|
||||||
|
margin: 0px 3px 3px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {opacity: 0;}
|
||||||
|
to {opacity: 1;}
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color:#4b3766;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text:selected {
|
||||||
|
color: #d8dee9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
background-color: transparent;
|
||||||
|
font-family: Ubuntu Mono;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
border: none;
|
||||||
|
background-color: #4c566a;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 15px 15px 10px 15px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
color: #4b3766;
|
||||||
|
padding-top: 5px;
|
||||||
|
margin: 0px 10px 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 15px;
|
||||||
|
background-color: rgba(53,59,73,1.0);
|
||||||
|
box-shadow: 0px 0px 5px 0 #0F0F0F;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
padding: 5px;
|
||||||
|
color: #d8dee9;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#img {
|
||||||
|
background-color: transparent;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user