A bunch of configuration
This commit is contained in:
parent
2ea4771901
commit
d1223d6cee
@ -1,6 +1,4 @@
|
|||||||
# Default config for sway
|
# Config for sway
|
||||||
#
|
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
|
||||||
#
|
#
|
||||||
# Read `man 5 sway` for a complete reference.
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
@ -33,7 +31,7 @@ set $term kitty
|
|||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
set $menu wofi -show drun
|
set $menu wofi -show drun | xargs swaymsg exec --
|
||||||
|
|
||||||
### Keyboard, Mouse and others configuration
|
### Keyboard, Mouse and others configuration
|
||||||
# Keyboard config https://man.archlinux.org/man/xkeyboard-config.7
|
# Keyboard config https://man.archlinux.org/man/xkeyboard-config.7
|
||||||
@ -48,22 +46,18 @@ input * {
|
|||||||
tap enabled
|
tap enabled
|
||||||
tap_button_map lrm
|
tap_button_map lrm
|
||||||
scroll_method two_finger
|
scroll_method two_finger
|
||||||
|
natural_scroll disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# slightly decrease mouse speed
|
||||||
|
input "Logitech G305" pointer_accel -0.3
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
|
|
||||||
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
|
|
||||||
#output * bg $HOME/.cache/backgrounds/desktop.png fill
|
|
||||||
|
|
||||||
# Example configuration:
|
|
||||||
#
|
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
||||||
#
|
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
output DP-1 mode 2560x1440@170Hz
|
output "Acer Technologies XV272U V R307036FE4208" mode 2560x1440@170Hz
|
||||||
output DP-1 scale 1.25
|
output "Acer Technologies XV272U V R307036FE4208" scale 1.25
|
||||||
output DP-1 subpixel rgb
|
output "Acer Technologies XV272U V R307036FE4208" subpixel rgb
|
||||||
output DP-1 adaptive_sync on
|
output "Acer Technologies XV272U V R307036FE4208" adaptive_sync on
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
#
|
#
|
||||||
@ -80,10 +74,10 @@ output DP-1 adaptive_sync on
|
|||||||
|
|
||||||
# -c 000000 sets the color in RGB
|
# -c 000000 sets the color in RGB
|
||||||
# use -i to set an image
|
# use -i to set an image
|
||||||
#exec swayidle -w \
|
exec swayidle -w \
|
||||||
# timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"' \
|
timeout 300 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"' \
|
||||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
# before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"'
|
before-sleep 'swaylock -f -e -i "$HOME/.cache/backgrounds/lockscreen.png"'
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
@ -1,967 +0,0 @@
|
|||||||
######################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Start of all the settings #################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
# NOTE THIS FILE IS OVERWRITTEN WITH THE ONE FROM THEMES!!
|
|
||||||
|
|
||||||
# KEY DEFINITIONS TO REMEMBER
|
|
||||||
|
|
||||||
# $Mod = WINDOWS key or Super key or Mod4
|
|
||||||
# Mod1 = ALT key
|
|
||||||
# Control = CTRL key
|
|
||||||
# Shift = SHIFT key
|
|
||||||
# Escape = ESCAPE key
|
|
||||||
# Return = ENTER or RETURN key
|
|
||||||
# KP_Enter = Keypad Enter
|
|
||||||
# Pause = PAUSE key
|
|
||||||
# Print = PRINT key
|
|
||||||
# Tab = TAB key
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Define the $mod variable/key #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Key to rule them all : Super(Windows) or Alt key?
|
|
||||||
|
|
||||||
# Mod4 = Windows or Super key on keyboard
|
|
||||||
# Mod1 = Alt key on keyboard
|
|
||||||
|
|
||||||
#Set Alt key
|
|
||||||
#set $mod Mod1
|
|
||||||
|
|
||||||
#set Super key
|
|
||||||
set $mod Mod4
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Define the movements keys - variables #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#This is setup for qwerty
|
|
||||||
set $up k
|
|
||||||
set $down j
|
|
||||||
set $left h
|
|
||||||
set $right l
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Workspaces location #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# setting variables for later use
|
|
||||||
# use xrandr and/or arandr to know the names of your monitors
|
|
||||||
#exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
|
|
||||||
#exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto
|
|
||||||
|
|
||||||
|
|
||||||
# my current setup
|
|
||||||
|
|
||||||
#set $firstMonitor DP3
|
|
||||||
#set $secondMonitor LVDS1
|
|
||||||
|
|
||||||
#set $firstMonitor DVI-I-0
|
|
||||||
#set $secondMonitor HDMI-0
|
|
||||||
|
|
||||||
|
|
||||||
#set $firstMonitor DVI-0
|
|
||||||
#set $secondMonitor DVI-1
|
|
||||||
|
|
||||||
#set $firstMonitor DVI-I-1
|
|
||||||
#set $secondMonitor DVI-D-1
|
|
||||||
|
|
||||||
set $firstMonitor HDMI1
|
|
||||||
set $secondMonitor HDMI2
|
|
||||||
|
|
||||||
workspace 1 output $firstMonitor
|
|
||||||
workspace 2 output $firstMonitor
|
|
||||||
workspace 3 output $firstMonitor
|
|
||||||
workspace 4 output $firstMonitor
|
|
||||||
workspace 5 output $firstMonitor
|
|
||||||
workspace 6 output $secondMonitor
|
|
||||||
workspace 7 output $secondMonitor
|
|
||||||
workspace 8 output $secondMonitor
|
|
||||||
workspace 9 output $secondMonitor
|
|
||||||
workspace 10 output $secondMonitor
|
|
||||||
|
|
||||||
# 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; workspace 1
|
|
||||||
bindsym $mod+Shift+2 move container to workspace 2; workspace 2
|
|
||||||
bindsym $mod+Shift+3 move container to workspace 3; workspace 3
|
|
||||||
bindsym $mod+Shift+4 move container to workspace 4; workspace 4
|
|
||||||
bindsym $mod+Shift+5 move container to workspace 5; workspace 5
|
|
||||||
bindsym $mod+Shift+6 move container to workspace 6; workspace 6
|
|
||||||
bindsym $mod+Shift+7 move container to workspace 7; workspace 7
|
|
||||||
bindsym $mod+Shift+8 move container to workspace 8; workspace 8
|
|
||||||
bindsym $mod+Shift+9 move container to workspace 9; workspace 9
|
|
||||||
bindsym $mod+Shift+0 move container to workspace 10; workspace 10
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# how to exit, logoff, suspend, ... #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#Press $mod (super) and X to exit - check toolbar for next choices
|
|
||||||
bindsym $mod+x mode "$mode_system"
|
|
||||||
|
|
||||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
|
|
||||||
mode "$mode_system" {
|
|
||||||
bindsym l exec --no-startup-id ~/.config/sway/scripts/i3exit.sh lock, mode "default"
|
|
||||||
bindsym e exec --no-startup-id ~/.config/sway/scripts/i3exit.sh logout, mode "default"
|
|
||||||
bindsym r exec --no-startup-id ~/.config/sway/scripts/i3exit.sh reboot, mode "default"
|
|
||||||
bindsym s exec --no-startup-id ~/.config/sway/scripts/i3exit.sh shutdown, mode "default"
|
|
||||||
bindsym u exec --no-startup-id ~/.config/sway/scripts/i3exit.sh suspend, mode "default"
|
|
||||||
bindsym h exec --no-startup-id ~/.config/sway/scripts/i3exit.sh hibernate, mode "default"
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# reload changed configuration #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
||||||
bindsym $mod+Shift+r restart
|
|
||||||
|
|
||||||
# reload the configuration file
|
|
||||||
bindsym $mod+Shift+c reload
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Stopping an application #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
bindsym $mod+q kill
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Moving around in i3 #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
# toggle tiling / floating
|
|
||||||
bindsym $mod+f floating toggle
|
|
||||||
|
|
||||||
# change focus
|
|
||||||
bindsym $mod+$left focus left
|
|
||||||
bindsym $mod+$down focus down
|
|
||||||
bindsym $mod+$up focus up
|
|
||||||
bindsym $mod+$right 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+$left move left
|
|
||||||
bindsym $mod+Shift+$down move down
|
|
||||||
bindsym $mod+Shift+$up move up
|
|
||||||
bindsym $mod+Shift+$right 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
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# moving around workspaces #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# next/previous workspace
|
|
||||||
|
|
||||||
bindsym $mod+Tab workspace next
|
|
||||||
bindsym $mod+Shift+Tab workspace prev
|
|
||||||
|
|
||||||
# switch to workspace with urgent window automatically
|
|
||||||
for_window [urgent=latest] focus
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Tiling parameters #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# orientation for new workspaces
|
|
||||||
default_orientation horizontal
|
|
||||||
|
|
||||||
# split in horizontal orientation
|
|
||||||
bindsym $mod+o split h
|
|
||||||
|
|
||||||
# split in vertical orientation
|
|
||||||
bindsym $mod+v split v
|
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
|
||||||
bindsym $mod+Shift+f fullscreen toggle
|
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
|
||||||
# qwerty/azerty issue for letter z
|
|
||||||
bindsym $mod+s layout stacking
|
|
||||||
bindsym $mod+z layout tabbed
|
|
||||||
bindsym $mod+e layout toggle split
|
|
||||||
|
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
|
||||||
bindsym $mod+t focus mode_toggle
|
|
||||||
|
|
||||||
# focus the parent container
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
|
|
||||||
# focus the child container
|
|
||||||
bindsym $mod+d focus child
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# change modes #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
:'
|
|
||||||
bindsym $mod+m mode "$main"
|
|
||||||
|
|
||||||
set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l)
|
|
||||||
mode "$main"{
|
|
||||||
bindsym s mode "$social"
|
|
||||||
bindsym g mode "$gaming"
|
|
||||||
bindsym c mode "$crypto"
|
|
||||||
bindsym m mode "$media"
|
|
||||||
bindsym r mode "resize"
|
|
||||||
bindsym l mode "$layout"
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
################## social ##################
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t)
|
|
||||||
mode "$social"{
|
|
||||||
bindsym d exec --no-startup-id discord --no-sandbox;focus
|
|
||||||
bindsym e exec --no-startup-id element-desktop;focus
|
|
||||||
bindsym b exec --no-startup-id telegram-desktop;focus
|
|
||||||
#bindsym s exec --no-startup-id slack;focus
|
|
||||||
bindsym s exec --no-startup-id signal-desktop;focus
|
|
||||||
bindsym t exec --no-startup-id teams;focus
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
################## media ##################
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
set $media Tauon (t), Celluloid (c), Jellyfin (j)
|
|
||||||
mode "$media"{
|
|
||||||
bindsym t exec --no-startup-id tauon;focus
|
|
||||||
bindsym c exec --no-startup-id celluloid;focus
|
|
||||||
bindsym j exec --no-startup-id jellyfinmediaplayer;focus
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
################# crypto #################
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
set $crypto Electrum (b), Electon Cash (c), Monero (m)
|
|
||||||
mode "$crypto"{
|
|
||||||
bindsym b exec --no-startup-id electrum;focus
|
|
||||||
bindsym c exec --no-startup-id electron-cash;focus
|
|
||||||
bindsym m exec --no-startup-id monero-wallet-gui;focus
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
################# gaming #################
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# launch gaming focused programs
|
|
||||||
set $gaming Lutris (l), Steam (s), Heroic (h), Itch (i), Citra (3DS) (c)
|
|
||||||
mode "$gaming" {
|
|
||||||
bindsym l exec --no-startup-id lutris;focus
|
|
||||||
bindsym s exec --no-startup-id mangohud steam-native;focus
|
|
||||||
bindsym h exec --no-startup-id heroic;focus
|
|
||||||
bindsym i exec --no-startup-id itch;focus
|
|
||||||
bindsym c exec --no-startup-id citra-qt;focus
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
################### resize ##################
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
|
|
||||||
mode "resize" {
|
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
|
||||||
|
|
||||||
# Pressing left will shrink the window’s width.
|
|
||||||
# Pressing right will grow the window’s width.
|
|
||||||
# Pressing down will shrink the window’s height.
|
|
||||||
# Pressing up will grow the window’s height.
|
|
||||||
bindsym $left resize shrink width 10 px or 10 ppt
|
|
||||||
bindsym Shift+$left resize shrink width 20 px or 20 ppt
|
|
||||||
bindsym $up resize grow height 10 px or 10 ppt
|
|
||||||
bindsym Shift+$up resize grow height 20 px or 20 ppt
|
|
||||||
bindsym $down resize shrink height 10 px or 10 ppt
|
|
||||||
bindsym Shift+$down resize shrink height 20 px or 20 ppt
|
|
||||||
bindsym $right resize grow width 10 px or 10 ppt
|
|
||||||
bindsym Shift+$right resize grow width 20 px or 20 ppt
|
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
|
||||||
bindsym Shift+Left resize shrink width 20 px or 20 ppt
|
|
||||||
bindsym Up resize grow height 10 px or 10 ppt
|
|
||||||
bindsym Shift+Up resize grow height 20 px or 20 ppt
|
|
||||||
bindsym Down resize shrink height 10 px or 10 ppt
|
|
||||||
bindsym Shift+Down resize shrink height 20 px or 20 ppt
|
|
||||||
bindsym Right resize grow width 10 px or 10 ppt
|
|
||||||
bindsym Shift+Right resize grow width 20 px or 20 ppt
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
'
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
################# start normal layout #################
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# launch programs in the right workspaces
|
|
||||||
|
|
||||||
bindsym $mod+w mode "$layout"
|
|
||||||
|
|
||||||
set $layout full (f)
|
|
||||||
mode "$layout" {
|
|
||||||
bindsym f exec --no-startup-id bash $HOME/.config/sway/scripts/layout-default.sh
|
|
||||||
#bindsym w exec --no-startup-id bash $HOME/.config/sway/scripts/layout-work.sh
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# display #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# change xrandr display configuration
|
|
||||||
|
|
||||||
#bindsym $mod+d mode "$xrandr"
|
|
||||||
|
|
||||||
set $xrandr arco-pc 1x hdmi (h), laptop 1x eDPI (l)
|
|
||||||
mode "$xrandr" {
|
|
||||||
bindsym h exec --no-startup-id xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output HDMI-A-0 --set "scaling mode" "Full Aspect" --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-1 --off --output DVI-D-0 --off
|
|
||||||
bindsym l exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# choose the font #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
|
||||||
# is used in the bar {} block below.
|
|
||||||
# choose your font
|
|
||||||
font pango:Noto Mono Regular 9
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# execute applications at boot time #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# TRAY APPLICATIONS
|
|
||||||
|
|
||||||
#Authentication dialog
|
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
||||||
|
|
||||||
#nextcloud
|
|
||||||
exec --no-startup-id nextcloud
|
|
||||||
|
|
||||||
# bluetooth
|
|
||||||
#exec --no-startup-id blueberry-tray
|
|
||||||
|
|
||||||
# network
|
|
||||||
exec --no-startup-id nm-applet
|
|
||||||
|
|
||||||
# num lock activated
|
|
||||||
exec_always --no-startup-id numlockx on
|
|
||||||
|
|
||||||
# volume
|
|
||||||
#exec --no-startup-id volumeicon
|
|
||||||
|
|
||||||
#variety
|
|
||||||
#exec --no-startup-id variety
|
|
||||||
|
|
||||||
#Corectrl
|
|
||||||
exec --no-startup-id corectrl
|
|
||||||
|
|
||||||
#Transmission
|
|
||||||
#exec --no-startup-id transmission-gtk -m
|
|
||||||
|
|
||||||
#Conky
|
|
||||||
#exec --no-startup-id conky -c ~/.config/sway/system-overview
|
|
||||||
|
|
||||||
#Polybar
|
|
||||||
exec_always --no-startup-id ~/.config/polybar/launch.sh &
|
|
||||||
|
|
||||||
# Protonmail Bridge
|
|
||||||
exec --no-startup-id protonmail-bridge -no-window
|
|
||||||
|
|
||||||
# Start KopiaUI
|
|
||||||
exec --no-startup-id /opt/KopiaUI/kopia-ui
|
|
||||||
|
|
||||||
# Easy Effects
|
|
||||||
exec --no-startup-id easyeffects --gapplication-service
|
|
||||||
|
|
||||||
# feh background image
|
|
||||||
exec --no-startup-id bash $HOME/.fehbg &
|
|
||||||
|
|
||||||
# activate flameshot
|
|
||||||
exec --no-startup-id flameshot &
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# system applications #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# no really good alternatives that are independent. some others to check out:
|
|
||||||
# there are some scripts that should work with i3
|
|
||||||
# gnome-power-manager
|
|
||||||
# mate-power-manager
|
|
||||||
exec --no-startup-id xfce4-power-manager &
|
|
||||||
|
|
||||||
# notifications
|
|
||||||
exec --no-startup-id /usr/bin/dunst &
|
|
||||||
|
|
||||||
# disk management
|
|
||||||
exec --no-startup-id udiskie --no-automount --tray &
|
|
||||||
|
|
||||||
# kde connect
|
|
||||||
exec --no-startup-id kdeconnect-indicator &
|
|
||||||
|
|
||||||
# thunar daemon
|
|
||||||
#exec --no-startup-id /usr/bin/thunar --daemon &
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# applications keyboard shortcuts #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#terminal
|
|
||||||
bindsym ctrl+mod1+Return exec --no-startup-id kitty;focus
|
|
||||||
|
|
||||||
#System monitor
|
|
||||||
# potential replacement: lxtask-gtk3
|
|
||||||
#bindsym ctrl+mod1+r exec --no-startup-id xfce4-taskmanager;focus
|
|
||||||
|
|
||||||
#settings
|
|
||||||
#bindsym ctrl+mod1+s exec --no-startup-id xfce4-settings-manager
|
|
||||||
|
|
||||||
#pavucontrol
|
|
||||||
bindsym ctrl+mod1+u exec --no-startup-id pavucontrol;focus
|
|
||||||
|
|
||||||
#rofi
|
|
||||||
bindsym ctrl+mod1+a exec --no-startup-id rofi -show drun -show-icons -dpi 0
|
|
||||||
|
|
||||||
# joplin
|
|
||||||
bindsym ctrl+mod1+n exec --no-startup-id joplin-desktop;focus
|
|
||||||
|
|
||||||
#texteditors
|
|
||||||
#bindsym ctrl+mod1+e exec --no-startup-id vscodium;focus
|
|
||||||
bindsym ctrl+mod1+e exec --no-startup-id emacs;focus
|
|
||||||
|
|
||||||
# file manager
|
|
||||||
bindsym ctrl+mod1+t exec --no-startup-id thunar;focus
|
|
||||||
#bindsym ctrl+mod1+t exec --no-startup-id pcmanfm;focus
|
|
||||||
#bindsym ctrl+mod1+t exec --no-startup-id nemo;focus
|
|
||||||
|
|
||||||
#libreoffice
|
|
||||||
bindsym ctrl+mod1+l exec --no-startup-id libreoffice;focus
|
|
||||||
|
|
||||||
#browsers
|
|
||||||
bindsym ctrl+mod1+f exec --no-startup-id firefox;focus
|
|
||||||
|
|
||||||
#tauon music box
|
|
||||||
#bindsym ctrl+mod1+m exec --no-startup-id tauon;focus
|
|
||||||
|
|
||||||
# jellyamp
|
|
||||||
#bindsym ctrl+mod1+m exec --no-startup-id "env DESKTOPINTEGRATION=false /usr/bin/Jellyamp";focus
|
|
||||||
|
|
||||||
# sublime music
|
|
||||||
bindsym ctrl+mod1+m exec --no-startup-id sublime-music;focus
|
|
||||||
|
|
||||||
# jellyfin media player
|
|
||||||
bindsym ctrl+mod1+j exec --no-startup-id jellyfinmediaplayer;focus
|
|
||||||
|
|
||||||
# mail
|
|
||||||
bindsym ctrl+mod1+b exec --no-startup-id thunderbird;focus
|
|
||||||
#bindsym ctrl+mod1+b exec --no-startup-id evolution;focus
|
|
||||||
|
|
||||||
#redetect pulseaudio
|
|
||||||
#bindsym $mod+shift+a exec --no-startup-id bash $HOME/scripts/redetect-audio.sh
|
|
||||||
|
|
||||||
# Emoji picker
|
|
||||||
bindsym ctrl+mod1+p exec --no-startup-id rofi -show emoji -dpi 0
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# screenshots #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
#bindsym Print exec --no-startup-id xfce4-screenshooter
|
|
||||||
#bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter
|
|
||||||
bindsym Print exec --no-startup-id flameshot gui
|
|
||||||
bindsym Ctrl+Print exec --no-startup-id flameshot gui -d 2000
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# floating or tiled #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# class = WM_CLASS, title = WM_NAME
|
|
||||||
|
|
||||||
##############################
|
|
||||||
### floating disabled ###
|
|
||||||
##############################
|
|
||||||
for_window [class="Bleachbit"] floating disable
|
|
||||||
for_window [class="Brasero"] floating disable
|
|
||||||
for_window [class="Gnome-disks"] floating disable
|
|
||||||
for_window [class="Hexchat"] floating disable
|
|
||||||
for_window [class="Nitrogen"] floating disable
|
|
||||||
for_window [class="Pavucontrol"] floating disable
|
|
||||||
for_window [class="^Spotify$"] floating disable
|
|
||||||
for_window [class="System-config-printer.py"] floating enable
|
|
||||||
for_window [class="^Vlc$"] floating disable
|
|
||||||
for_window [class="Xfburn"] floating disable
|
|
||||||
for_window [class="Xfce4-settings-manager"] floating disable
|
|
||||||
|
|
||||||
# variety
|
|
||||||
for_window [instance="variety"] floating disable
|
|
||||||
|
|
||||||
# epic
|
|
||||||
for_window [title="Epic Games Launcher"] floating disable
|
|
||||||
|
|
||||||
# ubisoft
|
|
||||||
for_window [title="Ubisoft Connect"] floating disable
|
|
||||||
|
|
||||||
# firefox picture in picture
|
|
||||||
for_window [title="Picture-in-Picture"] floating disable
|
|
||||||
|
|
||||||
# system-config-printer
|
|
||||||
for_window [title="Druckeinstellungen - localhost"] floating disable
|
|
||||||
|
|
||||||
# hp printers
|
|
||||||
for_window [class="hp-toolbox"] floating disable
|
|
||||||
|
|
||||||
# balena etcher
|
|
||||||
for_window [title="Etcher"] floating disable
|
|
||||||
|
|
||||||
# jellyamp
|
|
||||||
for_window [title="Jellyamp"] floating disable
|
|
||||||
|
|
||||||
# rule the waves 2
|
|
||||||
for_window [title="Rule the Waves II - Version 1.21"] floating disable
|
|
||||||
for_window [title="Rule the Waves II - Version 1.25"] floating disable
|
|
||||||
for_window [title="Rule the Waves II - Version 1.26"] floating disable
|
|
||||||
|
|
||||||
# nextcloud settings
|
|
||||||
for_window [title="Nextcloud-Einstellungen"] floating disable
|
|
||||||
|
|
||||||
# thunderbird calendar
|
|
||||||
for_window [title="^Edit Event:.*"] floating disable
|
|
||||||
|
|
||||||
##############################
|
|
||||||
### floating enabled ###
|
|
||||||
##############################
|
|
||||||
for_window [class="Xfce4-taskmanager"] floating enable
|
|
||||||
for_window [class="Blueberry.py"] floating enable
|
|
||||||
for_window [class="Galculator"] floating enable
|
|
||||||
for_window [class="^Gpick$"] floating enable
|
|
||||||
for_window [class="Imagewriter"] floating enable
|
|
||||||
for_window [class="^Gnome-font-viewer$"] floating enable
|
|
||||||
for_window [class="Peek"] floating enable
|
|
||||||
for_window [class="^Skype$"] floating enable
|
|
||||||
for_window [class="Unetbootin.elf"] floating enable
|
|
||||||
for_window [class="Usb-creator-gtk"] floating enable
|
|
||||||
for_window [class="Wine"] floating enable
|
|
||||||
for_window [class="Xfce4-appfinder"] floating enable
|
|
||||||
for_window [title="Copying"] floating enable
|
|
||||||
for_window [title="Deleting"] floating enable
|
|
||||||
for_window [title="Moving"] floating enable
|
|
||||||
for_window [title="^Terminator Preferences$"] floating enable
|
|
||||||
for_window [window_role="pop-up"] floating enable
|
|
||||||
for_window [window_role="^Preferences$"] floating enable
|
|
||||||
for_window [window_role="setup"] floating enable
|
|
||||||
|
|
||||||
# ms teams
|
|
||||||
for_window [title="Microsoft Teams Notification"] floating enable
|
|
||||||
for_window [title="Microsoft Teams-Benachrichtigung"] floating enable
|
|
||||||
|
|
||||||
# vue
|
|
||||||
for_window [class="tufts-vue-VUE" title="Format"] floating enable
|
|
||||||
for_window [class="tufts-vue-VUE" title="ColorPopupMenu"] floating enable
|
|
||||||
|
|
||||||
##############################
|
|
||||||
### fullscreen enabled ###
|
|
||||||
##############################
|
|
||||||
for_window [class="steam_app_261550"] fullscreen enable # Mount & Blade II: Bannerlord
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# variety for your wallpapers #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#Variety keybindings mod1 = ALT
|
|
||||||
# next wallpaper
|
|
||||||
#bindsym mod1+n exec --no-startup-id variety -n
|
|
||||||
#bindsym mod1+Right exec --no-startup-id variety -n
|
|
||||||
# previous wallpaper
|
|
||||||
#bindsym mod1+p exec --no-startup-id variety -p
|
|
||||||
#bindsym mod1+Left exec --no-startup-id variety -p
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# audio settings #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh up
|
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/scripts/dunst-volume.sh down
|
|
||||||
bindsym XF86AudioMute exec --no-startup-id bash $HOME/scripts/dunst-volume.sh mute
|
|
||||||
#bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master '5%+'"
|
|
||||||
#bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master '5%-'"
|
|
||||||
#bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse set Master toggle"
|
|
||||||
#https://github.com/acrisci/playerctl/
|
|
||||||
#bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
||||||
bindsym XF86AudioPlay exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py play-pause &
|
|
||||||
#bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
||||||
bindsym XF86AudioNext exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py next &
|
|
||||||
#bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
|
||||||
bindsym XF86AudioPrev exec --no-startup-id ~/scripts/polybar/player-mpris-tail.py previous &
|
|
||||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# xbacklight #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
bindsym $mod+Shift+u exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
|
|
||||||
bindsym $mod+Shift+d exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
|
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh up # increase screen brightness
|
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id bash $HOME/scripts/dunst-backlight.sh down # decrease screen brightness
|
|
||||||
#bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 # increase screen brightness
|
|
||||||
#bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 # decrease screen brightness
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# border control #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Border control
|
|
||||||
hide_edge_borders none
|
|
||||||
|
|
||||||
bindsym $mod+u mode "$border"
|
|
||||||
|
|
||||||
set $border none (o), pixel (p), normal (n)
|
|
||||||
mode "$border" {
|
|
||||||
bindsym o border none
|
|
||||||
bindsym p border pixel 2
|
|
||||||
bindsym n border normal 2
|
|
||||||
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# Popups control #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#Popups during fullscreen mode
|
|
||||||
popup_during_fullscreen smart
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# i3 gaps next #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Settings for I3 next gap git
|
|
||||||
# https://github.com/Airblader/i3/tree/gaps-next
|
|
||||||
# delete or uncomment the following lines if you do not have it or do not
|
|
||||||
# want it
|
|
||||||
|
|
||||||
# set border and gaps
|
|
||||||
for_window [class="^.*"] border pixel 2
|
|
||||||
#gaps inner 3
|
|
||||||
#gaps outer 3
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
################# compton (now picom) of i3wm #################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#if you want transparency on non-focused windows, ...
|
|
||||||
exec_always --no-startup-id picom -b --config ~/.config/sway/picom.conf
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
################# bar appearance #################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
|
|
||||||
|
|
||||||
#bar {
|
|
||||||
#
|
|
||||||
# height 25
|
|
||||||
# workspace_buttons yes
|
|
||||||
# font pango:Noto Sans 14
|
|
||||||
#
|
|
||||||
# #position top
|
|
||||||
# position bottom
|
|
||||||
#
|
|
||||||
# #system icons
|
|
||||||
# #tray_output none
|
|
||||||
# #tray_output $firstMonitor
|
|
||||||
# #tray_output $secondMonitor
|
|
||||||
|
|
||||||
|
|
||||||
# OPTION 1 : i3status
|
|
||||||
|
|
||||||
# type status_command i3status without the config file and
|
|
||||||
# you will get the standard i3status bar
|
|
||||||
# Second one is the standard statusbar with my personal settings
|
|
||||||
|
|
||||||
#status_command i3status
|
|
||||||
#status_command i3status -c ~/.config/sway/i3status.conf
|
|
||||||
|
|
||||||
|
|
||||||
# OPTION 2 : i3blocks
|
|
||||||
|
|
||||||
# https://github.com/vivien/i3blocks
|
|
||||||
# another way to provide text in the statusbar
|
|
||||||
# put hastag in front if not installed
|
|
||||||
|
|
||||||
#status_command i3blocks
|
|
||||||
#status_command i3blocks -c ~/.config/sway/i3blocks.conf
|
|
||||||
#status_command i3blocks -c ~/.config/sway/i3blocks-rainbow.conf
|
|
||||||
#status_command i3blocks -c ~/.config/sway/i3blocks-original.conf
|
|
||||||
#status_command i3blocks -c ~/.config/sway/i3blocks-awesome.conf
|
|
||||||
|
|
||||||
|
|
||||||
# OPTION 3 : conky
|
|
||||||
|
|
||||||
# You can also replace the istatus bar with a conky
|
|
||||||
# start-conky-i3statusbar.sh is started and conky will follow
|
|
||||||
# documentation : https://i3wm.org/docs/user-contributed/conky-i3bar.html
|
|
||||||
# conky configuration is in conky-i3statusbar
|
|
||||||
|
|
||||||
#status_command ~/.config/sway/start-conky-i3statusbar.sh
|
|
||||||
|
|
||||||
|
|
||||||
# OPTION 4 : polybar
|
|
||||||
|
|
||||||
# polybar is launched elsewhere - search for the word
|
|
||||||
# from the opening of the "bar {...}" till the end has to go or hashtagged out
|
|
||||||
# in order for the system trayicons to show up in polybar
|
|
||||||
|
|
||||||
|
|
||||||
#colors {
|
|
||||||
# background #2F2F2F
|
|
||||||
# statusline #eeeeee
|
|
||||||
# separator #666666
|
|
||||||
# # border backgr. text
|
|
||||||
# focused_workspace #a9a9a9 #5f676a #eeeeee
|
|
||||||
# active_workspace #a9a9a9 #5f676a #a9a9a9
|
|
||||||
# inactive_workspace #a9a9a9 #222222 #a9a9a9
|
|
||||||
# urgent_workspace #a9a9a9 #d42121 #FFFFFF
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
# }
|
|
||||||
|
|
||||||
|
|
||||||
# DarkGrey background with white text - not focus grey background - black text
|
|
||||||
# Windows decoration colors
|
|
||||||
# class border backgr. text indicator
|
|
||||||
#client.placeholder #242424 #242424 #242424
|
|
||||||
#client.background #242424 #242424 #242424
|
|
||||||
#client.focused #4A4A4A #4A4A4A #e5e5e5 #4A4A4A
|
|
||||||
#client.unfocused #222222 #222222 #aaaaaa #222222
|
|
||||||
#client.focused_inactive #222222 #222222 #a9a9a9 #222222
|
|
||||||
#client.urgent #d42121 #d42121 #f7f7f7 #d42121
|
|
||||||
|
|
||||||
# Purple/Pink
|
|
||||||
# class border backgr. text indicator
|
|
||||||
#client.placeholder #00ff00 #00ff00 #00ff00
|
|
||||||
#client.background #00ff00 #00ff00 #00ff00
|
|
||||||
#client.focused #592c54 #592c54 #eeeeee #592c54
|
|
||||||
#client.unfocused #33022f #33022f #eeeeee #33022f
|
|
||||||
#client.focused_inactive #33022f #33022f #eeeeee #33022f
|
|
||||||
#client.urgent #a5096a #a5096a #eeeeee #a5096a
|
|
||||||
|
|
||||||
# Nyarch
|
|
||||||
# class border backgr. text indicator
|
|
||||||
#client.placeholder #00ff00 #00ff00 #00ff00
|
|
||||||
#client.background #00ff00 #00ff00 #00ff00
|
|
||||||
#client.focused #0c374c #0c374c #eeeeee #0c374c
|
|
||||||
#client.unfocused #162833 #162833 #eeeeee #162833
|
|
||||||
#client.focused_inactive #162833 #162833 #eeeeee #162833
|
|
||||||
#client.urgent #1a77a5 #1a77a5 #eeeeee #1a77a5
|
|
||||||
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
################### BAR APPEARANCE ARCHIVE ######################
|
|
||||||
#################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# Orange background with black text - not focus grey background - white text
|
|
||||||
# Windows decoration colors
|
|
||||||
# class border backgr. text indicator
|
|
||||||
# client.background color #222222
|
|
||||||
# client.focused #FFAF00 #FFAF00 #333333 #00AA00
|
|
||||||
# client.unfocused #222222 #222222 #aaaaaa #2e9ef4
|
|
||||||
# client.focused_inactive #333333 #5f676a #ffffff #484e50
|
|
||||||
# client.urgent #2f343a #900000 #ffffff #900000
|
|
||||||
|
|
||||||
|
|
||||||
# DarkGrey background with white text - not focus grey background - black text
|
|
||||||
# Windows decoration colors
|
|
||||||
# https://i3wm.org/docs/userguide.html#_changing_colors
|
|
||||||
# client.background color
|
|
||||||
# class border backgr. text indicator
|
|
||||||
# client.focused #4c7899 #285577 #ffffff #2e9ef4
|
|
||||||
# client.focused_inactive #333333 #5f676a #ffffff #484e50
|
|
||||||
# client.unfocused #333333 #222222 #888888 #292d2e
|
|
||||||
# client.urgent #2f343a #900000 #ffffff #900000
|
|
||||||
# client.placeholder #000000 #0c0c0c #ffffff #000000
|
|
||||||
|
|
||||||
# colors {
|
|
||||||
# background #222222
|
|
||||||
# statusline #eeeeee
|
|
||||||
# separator #666666
|
|
||||||
# border backgr. text
|
|
||||||
# focused_workspace #4c7899 #285577 #ffffff
|
|
||||||
# active_workspace #333333 #5f676a #ffffff
|
|
||||||
# inactive_workspace #333333 #222222 #888888
|
|
||||||
# urgent_workspace #2f343a #900000 #ffffff
|
|
||||||
# }
|
|
||||||
|
|
||||||
# Alternatives
|
|
||||||
# BLue and grey Colors
|
|
||||||
# https://github.com/Gravemind/ArchLinux/blob/master/.i3/config
|
|
||||||
# class border backgr. text indicator
|
|
||||||
# client.focused #000000 #285577 #dddddd #0099ff
|
|
||||||
# client.focused_inactive #000000 #333333 #888888 #484e50
|
|
||||||
# client.unfocused #000000 #000000 #555555 #292d2e
|
|
||||||
# client.urgent #2f343a #900000 #ffffff #900000
|
|
||||||
|
|
||||||
# blue background with white text
|
|
||||||
# Windows decoration colors
|
|
||||||
# class border backgr. text indicator
|
|
||||||
# client.background color #222222
|
|
||||||
# client.focused #4c7899 #285577 #ffffff #2e9ef4
|
|
||||||
# client.focused_inactive #333333 #5f676a #ffffff #484e50
|
|
||||||
# client.unfocused #333333 #222222 #888888 #292d2e
|
|
||||||
# client.urgent #2f343a #900000 #ffffff #900000
|
|
||||||
|
|
||||||
# Blue-green background - orange text
|
|
||||||
# Windows decoration colors
|
|
||||||
# http://www.fastlinux.eu/_archiv/index.php?page=linux047
|
|
||||||
# class border backgr. text
|
|
||||||
# client.focused #2B6473 #2B6473 #FFA000
|
|
||||||
# client.focused_inactive #004050 #004050 #FFA000
|
|
||||||
# client.unfocused #004050 #004050 #cccccc
|
|
||||||
# client.urgent #900000 #900000 #ffffff
|
|
||||||
|
|
||||||
|
|
||||||
# Red background - black text
|
|
||||||
# Windows decoration colors
|
|
||||||
# https://github.com/Blueblur/dotfiles/blob/master/.i3/config
|
|
||||||
# class border backgr. text indicator
|
|
||||||
# client.focused #d64937 #d64937 #2D2D2D #2e9ef4
|
|
||||||
# client.focused_inactive #2d2d2d #2d2d2d #dcdcdc #484e50
|
|
||||||
# client.unfocused #2D2D2D #2d2d2d #dcdcdc #292d2e
|
|
||||||
# client.urgent #2D2D2D #2D2D2D #dcdcdc #900000
|
|
||||||
|
|
||||||
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
######################################## THE END ###########################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
||||||
#####################################################################################################################
|
|
2
arch-config/.config/sway/config.d/background
Normal file
2
arch-config/.config/sway/config.d/background
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#output * bg $HOME/.cache/backgrounds/desktop.png fill
|
||||||
|
output * background #ff0000 solid_color
|
@ -1,137 +0,0 @@
|
|||||||
# i3blocks config file
|
|
||||||
#
|
|
||||||
#DEPENDS ON ACPI FOR BATTERY TO WORK. DOWNLOAD ACPI
|
|
||||||
#
|
|
||||||
# Please see man i3blocks for a complete reference!
|
|
||||||
# The man page is also hosted at http://vivien.github.io/i3blocks
|
|
||||||
#
|
|
||||||
# List of valid properties:
|
|
||||||
#
|
|
||||||
# align
|
|
||||||
# color
|
|
||||||
# background
|
|
||||||
# border
|
|
||||||
# command
|
|
||||||
# full_text
|
|
||||||
# instance
|
|
||||||
# interval
|
|
||||||
# label
|
|
||||||
# min_width
|
|
||||||
# name
|
|
||||||
# separator
|
|
||||||
# separator_block_width
|
|
||||||
# short_text
|
|
||||||
# signal
|
|
||||||
# urgent
|
|
||||||
|
|
||||||
# Global properties
|
|
||||||
#
|
|
||||||
# The top properties below are applied to every block, but can be overridden.
|
|
||||||
# Each block command defaults to the script name to avoid boilerplate.
|
|
||||||
command=/usr/lib/i3blocks/$BLOCK_NAME
|
|
||||||
separator_block_width=15
|
|
||||||
markup=none
|
|
||||||
|
|
||||||
#[CPU]
|
|
||||||
#command=ps -eo pcpu,comm | sort -k 1 -nr | head -1
|
|
||||||
#command=ps -Ao pcpu,comm --sort=-pcpu --no-headers | head -n 1
|
|
||||||
#interval=2
|
|
||||||
|
|
||||||
#[CPU]
|
|
||||||
#label=TEMP
|
|
||||||
#command=sensors | grep "Core 0" | awk '{print $3}'
|
|
||||||
#interval=10
|
|
||||||
|
|
||||||
# CPU usage
|
|
||||||
#
|
|
||||||
# The script may be called with -w and -c switches to specify thresholds,
|
|
||||||
# see the script for details.
|
|
||||||
#[cpu_usage]
|
|
||||||
#label=CPU
|
|
||||||
#interval=10
|
|
||||||
#min_width=CPU: 100.00%
|
|
||||||
#separator=false
|
|
||||||
|
|
||||||
#[load_average]
|
|
||||||
#interval=10
|
|
||||||
|
|
||||||
#[Kernel]
|
|
||||||
#label=KERNEL
|
|
||||||
#command=uname -r
|
|
||||||
#interval=once
|
|
||||||
|
|
||||||
# Memory usage
|
|
||||||
#
|
|
||||||
# The type defaults to "mem" if the instance is not specified.
|
|
||||||
[memory]
|
|
||||||
label=MEM
|
|
||||||
separator=false
|
|
||||||
interval=30
|
|
||||||
|
|
||||||
#[memory]
|
|
||||||
#label=SWAP
|
|
||||||
#instance=swap
|
|
||||||
#separator=false
|
|
||||||
#interval=30
|
|
||||||
|
|
||||||
# Disk usage
|
|
||||||
#
|
|
||||||
# The directory defaults to $HOME if the instance is not specified.
|
|
||||||
# The script may be called with a optional argument to set the alert
|
|
||||||
# (defaults to 10 for 10%).
|
|
||||||
|
|
||||||
[disk]
|
|
||||||
label=ROOT
|
|
||||||
#instance=/mnt/data
|
|
||||||
interval=30
|
|
||||||
|
|
||||||
# Network interface monitoring
|
|
||||||
#
|
|
||||||
# If the instance is not specified, use the interface used for default route.
|
|
||||||
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
|
|
||||||
#[iface]
|
|
||||||
#instance=enp2s0
|
|
||||||
#color=#00FF00
|
|
||||||
#interval=10
|
|
||||||
#separator=false
|
|
||||||
|
|
||||||
#[wifi]
|
|
||||||
#instance=wlp3s0
|
|
||||||
#interval=10
|
|
||||||
#separator=false
|
|
||||||
#
|
|
||||||
#[bandwidth]
|
|
||||||
#label=NET
|
|
||||||
#instance=enp2s0
|
|
||||||
interval=5
|
|
||||||
|
|
||||||
|
|
||||||
# Battery indicator
|
|
||||||
#
|
|
||||||
# The battery instance defaults to 0.
|
|
||||||
[battery]
|
|
||||||
#label=BAT
|
|
||||||
la2bel=⚡
|
|
||||||
command=acpi
|
|
||||||
instance=1
|
|
||||||
interval=30
|
|
||||||
|
|
||||||
# Volume indicator
|
|
||||||
#
|
|
||||||
# The first parameter sets the step (and units to display)
|
|
||||||
# The second parameter overrides the mixer selection
|
|
||||||
# See the script for details.
|
|
||||||
[volume]
|
|
||||||
#label=VOL
|
|
||||||
label=
|
|
||||||
instance=Master
|
|
||||||
#instance=PCM
|
|
||||||
interval=once
|
|
||||||
signal=10
|
|
||||||
|
|
||||||
# Date Time
|
|
||||||
#
|
|
||||||
[time]
|
|
||||||
label=
|
|
||||||
command=date '+%d-%m-%Y %H:%M:%S'
|
|
||||||
interval=1
|
|
@ -1,237 +0,0 @@
|
|||||||
# Thank you code_nomad: http://9m.no/ꪯ鵞
|
|
||||||
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Backend
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Backend to use: "xrender" or "glx".
|
|
||||||
# GLX backend is typically much faster but depends on a sane driver.
|
|
||||||
backend = "glx";
|
|
||||||
#backend = "xrender"
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# GLX backend
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
glx-no-stencil = true;
|
|
||||||
|
|
||||||
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
|
|
||||||
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
|
||||||
# but a 20% increase when only 1/4 is.
|
|
||||||
# My tests on nouveau show terrible slowdown.
|
|
||||||
glx-copy-from-front = false;
|
|
||||||
|
|
||||||
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
|
||||||
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
|
|
||||||
# May break VSync and is not available on some drivers.
|
|
||||||
# Overrides --glx-copy-from-front.
|
|
||||||
# glx-use-copysubbuffermesa = true;
|
|
||||||
|
|
||||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
|
||||||
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
|
||||||
# Recommended if it works.
|
|
||||||
# glx-no-rebind-pixmap = true;
|
|
||||||
|
|
||||||
# GLX backend: GLX buffer swap method we assume.
|
|
||||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
|
||||||
# undefined is the slowest and the safest, and the default value.
|
|
||||||
# copy is fastest, but may fail on some drivers,
|
|
||||||
# 2-6 are gradually slower but safer (6 is still faster than 0).
|
|
||||||
# Usually, double buffer means 2, triple buffer means 3.
|
|
||||||
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
|
|
||||||
# Useless with --glx-use-copysubbuffermesa.
|
|
||||||
# Partially breaks --resize-damage.
|
|
||||||
# Defaults to undefined.
|
|
||||||
#glx-swap-method = "undefined";
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Shadows
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Enabled client-side shadows on windows.
|
|
||||||
shadow = true;
|
|
||||||
# The blur radius for shadows. (default 12)
|
|
||||||
shadow-radius = 5;
|
|
||||||
# The left offset for shadows. (default -15)
|
|
||||||
shadow-offset-x = -5;
|
|
||||||
# The top offset for shadows. (default -15)
|
|
||||||
shadow-offset-y = -5;
|
|
||||||
# The translucency for shadows. (default .75)
|
|
||||||
shadow-opacity = 0.5;
|
|
||||||
|
|
||||||
log-level = "warn";
|
|
||||||
#change your username here
|
|
||||||
#log-file = "/home/erik/.config/compton.log";
|
|
||||||
|
|
||||||
# Set if you want different colour shadows
|
|
||||||
# shadow-red = 0.0;
|
|
||||||
# shadow-green = 0.0;
|
|
||||||
# shadow-blue = 0.0;
|
|
||||||
|
|
||||||
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
|
|
||||||
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
|
||||||
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
|
||||||
shadow-exclude = [
|
|
||||||
"name = 'Notification'",
|
|
||||||
"name = 'Plank'",
|
|
||||||
"name = 'Docky'",
|
|
||||||
"name = 'Kupfer'",
|
|
||||||
"name = 'xfce4-notifyd'",
|
|
||||||
"name *= 'VLC'",
|
|
||||||
"name *= 'compton'",
|
|
||||||
"name *= 'picom'",
|
|
||||||
"name *= 'Chromium'",
|
|
||||||
"name *= 'Chrome'",
|
|
||||||
"class_g = 'Firefox' && argb",
|
|
||||||
"class_g = 'Conky'",
|
|
||||||
"class_g = 'Kupfer'",
|
|
||||||
"class_g = 'Synapse'",
|
|
||||||
"class_g ?= 'Notify-osd'",
|
|
||||||
"class_g ?= 'Cairo-dock'",
|
|
||||||
"class_g = 'Cairo-clock'",
|
|
||||||
"class_g ?= 'Xfce4-notifyd'",
|
|
||||||
"class_g ?= 'Xfce4-power-manager'",
|
|
||||||
"_GTK_FRAME_EXTENTS@:c",
|
|
||||||
#"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
|
||||||
];
|
|
||||||
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
|
||||||
shadow-ignore-shaped = false;
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Opacity
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
inactive-opacity = 1;
|
|
||||||
active-opacity = 1;
|
|
||||||
frame-opacity = 1;
|
|
||||||
inactive-opacity-override = false;
|
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0)
|
|
||||||
# inactive-dim = 0.2;
|
|
||||||
# Do not let dimness adjust based on window opacity.
|
|
||||||
# inactive-dim-fixed = true;
|
|
||||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
|
||||||
# blur-background = true;
|
|
||||||
# Blur background of opaque windows with transparent frames as well.
|
|
||||||
# blur-background-frame = true;
|
|
||||||
# Do not let blur radius adjust based on window opacity.
|
|
||||||
blur-background-fixed = false;
|
|
||||||
blur-background-exclude = [
|
|
||||||
"window_type = 'dock'",
|
|
||||||
"window_type = 'desktop'",
|
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
|
||||||
];
|
|
||||||
|
|
||||||
opacity-rule = [
|
|
||||||
#"95:class_g = 'termite' && !_NET_WM_STATE@:32a",
|
|
||||||
#"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
|
|
||||||
#"0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
|
|
||||||
#"0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
|
|
||||||
#"0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
|
|
||||||
#"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'"
|
|
||||||
]
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Fading
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Fade windows during opacity changes.
|
|
||||||
fading = true;
|
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
|
||||||
fade-delta = 4;
|
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
|
||||||
fade-in-step = 0.03;
|
|
||||||
# Opacity change between steps while fading out. (default 0.03).
|
|
||||||
fade-out-step = 0.03;
|
|
||||||
# Fade windows in/out when opening/closing
|
|
||||||
# no-fading-openclose = true;
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
|
||||||
fade-exclude = [ ];
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Other
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Try to detect WM windows and mark them as active.
|
|
||||||
mark-wmwin-focused = true;
|
|
||||||
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
|
||||||
mark-ovredir-focused = true;
|
|
||||||
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
|
|
||||||
# Usually more reliable but depends on a EWMH-compliant WM.
|
|
||||||
use-ewmh-active-win = true;
|
|
||||||
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
|
||||||
detect-rounded-corners = true;
|
|
||||||
|
|
||||||
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
|
||||||
# This prevents opacity being ignored for some apps.
|
|
||||||
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
|
|
||||||
detect-client-opacity = true;
|
|
||||||
|
|
||||||
# Specify refresh rate of the screen.
|
|
||||||
# If not specified or 0, picom will try detecting this with X RandR extension.
|
|
||||||
refresh-rate = 0;
|
|
||||||
|
|
||||||
# Vertical synchronization: match the refresh rate of the monitor
|
|
||||||
# this breaks transparency in virtualbox - put a "#" before next line to fix that
|
|
||||||
vsync = true;
|
|
||||||
|
|
||||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
|
||||||
# Reported to have no effect, though.
|
|
||||||
dbe = false;
|
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.
|
|
||||||
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
|
||||||
# unless you wish to specify a lower refresh rate than the actual value.
|
|
||||||
#sw-opti = true;
|
|
||||||
|
|
||||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
|
||||||
# Known to cause flickering when redirecting/unredirecting windows.
|
|
||||||
unredir-if-possible = false;
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
|
||||||
focus-exclude = [ ];
|
|
||||||
|
|
||||||
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
|
||||||
detect-transient = true;
|
|
||||||
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
|
|
||||||
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
|
||||||
detect-client-leader = true;
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Window type settings
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
wintypes:
|
|
||||||
{
|
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true;};
|
|
||||||
dock = { shadow = false; }
|
|
||||||
dnd = { shadow = false; }
|
|
||||||
popup_menu = { opacity = 0.9; }
|
|
||||||
dropdown_menu = { opacity = 0.9; }
|
|
||||||
};
|
|
||||||
|
|
||||||
######################
|
|
||||||
#
|
|
||||||
# XSync
|
|
||||||
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
|
|
||||||
#
|
|
||||||
######################
|
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
|
|
||||||
xrender-sync-fence = true;
|
|
@ -1,152 +0,0 @@
|
|||||||
--[[
|
|
||||||
#=====================================================================================
|
|
||||||
# arcolinux
|
|
||||||
#
|
|
||||||
# Author : Erik Dubois at http://www.erikdubois.be
|
|
||||||
# License : Distributed under the terms of GNU GPL version 2 or later
|
|
||||||
# Documentation : http://erikdubois.be/category/linux/aureola/
|
|
||||||
#======================================================================================
|
|
||||||
|
|
||||||
|
|
||||||
]]
|
|
||||||
|
|
||||||
conky.config = {
|
|
||||||
|
|
||||||
--Various settings
|
|
||||||
|
|
||||||
background = true, -- forked to background
|
|
||||||
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
|
|
||||||
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
|
|
||||||
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
|
|
||||||
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
|
|
||||||
net_avg_samples = 2, -- The number of samples to average for net data
|
|
||||||
no_buffers = true, -- Subtract (file system) buffers from used memory?
|
|
||||||
temperature_unit = 'celsius', -- fahrenheit or celsius
|
|
||||||
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
|
|
||||||
update_interval = 1, -- update interval
|
|
||||||
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
|
|
||||||
|
|
||||||
|
|
||||||
--Placement
|
|
||||||
|
|
||||||
alignment = 'none', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
|
|
||||||
-- middle_left,middle_middle,middle_right,none
|
|
||||||
--Arch Duoscreen
|
|
||||||
--gap_x = -1910,
|
|
||||||
gap_x = 10, -- pixels between right or left border
|
|
||||||
gap_y = 10, -- pixels between bottom or left border
|
|
||||||
minimum_height = 200, -- minimum height of window
|
|
||||||
minimum_width = 280, -- minimum height of window
|
|
||||||
maximum_width = 280, -- maximum height of window
|
|
||||||
|
|
||||||
--Graphical
|
|
||||||
|
|
||||||
border_inner_margin = 5, -- margin between border and text
|
|
||||||
border_outer_margin = 5, -- margin between border and edge of window
|
|
||||||
border_width = 0, -- border width in pixels
|
|
||||||
default_bar_width = 280, -- default is 0 - full width
|
|
||||||
default_bar_height = 10, -- default is 6
|
|
||||||
default_gauge_height = 25, -- default is 25
|
|
||||||
default_gauge_width =40, -- default is 40
|
|
||||||
default_graph_height = 40, -- default is 25
|
|
||||||
default_graph_width = 153, -- default is 0 - full width
|
|
||||||
default_shade_color = '#000000', -- default shading colour
|
|
||||||
default_outline_color = '#000000', -- default outline colour
|
|
||||||
draw_borders = true, -- draw borders around text
|
|
||||||
draw_graph_borders = false, -- draw borders around graphs
|
|
||||||
draw_shades = false, -- draw shades
|
|
||||||
draw_outline = false, -- draw outline
|
|
||||||
stippled_borders = 0, -- dashing the border
|
|
||||||
|
|
||||||
--Textual
|
|
||||||
|
|
||||||
extra_newline = false, -- extra newline at the end - for asesome's wiboxes
|
|
||||||
format_human_readable = true, -- KiB, MiB rather then number of bytes
|
|
||||||
font = 'Noto Mono:size=11:regular', -- font for complete conky unless in code defined
|
|
||||||
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
|
|
||||||
max_user_text = 16384, -- max text in conky default 16384
|
|
||||||
override_utf8_locale = true, -- force UTF8 requires xft
|
|
||||||
short_units = true, -- shorten units from KiB to k
|
|
||||||
top_name_width = 21, -- width for $top name value default 15
|
|
||||||
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
|
|
||||||
uppercase = false, -- uppercase or not
|
|
||||||
use_spacer = 'none', -- adds spaces around certain objects to align - default none
|
|
||||||
use_xft = true, -- xft font - anti-aliased font
|
|
||||||
xftalpha = 1, -- alpha of the xft font - between 0-1
|
|
||||||
|
|
||||||
--Windows
|
|
||||||
|
|
||||||
own_window = true, -- create your own window to draw
|
|
||||||
own_window_argb_value = 150, -- real transparency - composite manager required 0-255
|
|
||||||
own_window_argb_visual = true, -- use ARGB - composite manager required
|
|
||||||
own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
|
|
||||||
own_window_colour = '#000000', -- set colour if own_window_transparent no
|
|
||||||
own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
|
|
||||||
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
|
|
||||||
own_window_title = 'system_conky', -- set the name manually - default conky "hostname"
|
|
||||||
own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel
|
|
||||||
|
|
||||||
|
|
||||||
--Colours
|
|
||||||
|
|
||||||
default_color = '#ff0000', -- default color and border color
|
|
||||||
color1 = '#FFFFFF',
|
|
||||||
color2 = '#FFA726',
|
|
||||||
color3 = '#cccccc',
|
|
||||||
color4 = '#BDBDBD',
|
|
||||||
color5 = '#CCCCCC',
|
|
||||||
color6 = '#aa0000',
|
|
||||||
|
|
||||||
--Signal Colours
|
|
||||||
color7 = '#1F7411', --green
|
|
||||||
color8 = '#FFA726', --orange
|
|
||||||
color9 = '#F1544B', --firebrick
|
|
||||||
|
|
||||||
|
|
||||||
--Lua
|
|
||||||
|
|
||||||
|
|
||||||
};
|
|
||||||
conky.text = [[
|
|
||||||
${color1}${alignc}S Y S T E M I N F O${color}
|
|
||||||
${color1}${hr}${color}
|
|
||||||
${color1}Host:${alignr}${color2}${nodename}${color}
|
|
||||||
${color1}Kernel:${color2}${alignr}$kernel${color}
|
|
||||||
${color1}Uptime:${color2}${alignr}${uptime}${color}
|
|
||||||
#${color1}UTC:${color2}${alignr}${utime %H:%M}${color}
|
|
||||||
${color1}Available Updates:${color2}${alignr}${execi 3600 checkupdates | wc -l}${color}
|
|
||||||
|
|
||||||
#${color1}${goto 60}Used${alignr}Size${color}
|
|
||||||
#${color1}Root${goto 60}${color2}${fs_used /}${alignr}${fs_size /}${color}
|
|
||||||
#${color1}Home${goto 60}${color2}${fs_used /home}${alignr}${fs_size /home}${color}
|
|
||||||
|
|
||||||
${color1}${goto 60}Mem${alignr}Max${color}
|
|
||||||
${color1}RAM${goto 60}${color2}${mem}${alignr}${memmax}${color}
|
|
||||||
${color1}Swap${goto 60}${color2}${swap}${alignr}${swapmax}${color}
|
|
||||||
|
|
||||||
${color1}CPU:${goto 60}Used${alignr}GHz${color}
|
|
||||||
${color1}Avg${goto 60}${color2}${if_match ${cpu cpu0}<50} ${cpu cpu0}\
|
|
||||||
${else}${if_match ${cpu cpu0}<=100}${color9} ${cpu cpu0}\
|
|
||||||
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}${color}
|
|
||||||
|
|
||||||
#${color1}${alignc}S H O R T C U T K E Y S${color}
|
|
||||||
#${color1}${hr}${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+A${alignr}${color2}Main Menu${color}
|
|
||||||
#${color1}${hr}${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+Enter${alignr}${color2}Terminal${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+T${alignr}${color2}File Manager${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+F/C/V${alignr}${color2}Browser${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+E${alignr}${color2}Editor${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+M${alignr}${color2}Media Player${color}
|
|
||||||
#${color1}[Ctrl]+[Shift]+Esc${alignr}${color2}Task Manager${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+U${alignr}${color2}Volume Control${color}
|
|
||||||
#${color1}[PrtSc]${alignr}${color2}Screenshot${color}
|
|
||||||
#${color1}[Ctrl]+[Alt]+S${alignr}${color2}Settings${color}
|
|
||||||
#${color1}[S]+[Shift]+R${alignr}${color2}Restart i3wm${color}
|
|
||||||
#${color1}${hr}${color}
|
|
||||||
#${color1}[S]+[Shift]+E${alignr}${color2}Stop i3wm${color}
|
|
||||||
#${color1}[S]+[Shift]+Q${alignr}${color2}Stop application${color}
|
|
||||||
#${color1}[S]+X${alignr}${color2}Exit${color}
|
|
||||||
#${color1}${hr}${color}
|
|
||||||
#${color1}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}${alignr}${execi 6000 lsb_release -a | grep 'Release'|awk {'print $2""$3""$4""$5'}}${color}
|
|
||||||
]];
|
|
@ -1,6 +0,0 @@
|
|||||||
Section "InputClass"
|
|
||||||
Identifier "mouse"
|
|
||||||
MatchDriver "libinput"
|
|
||||||
MatchProduct "Logitech G305"
|
|
||||||
Option "AccelSpeed" "-0.3"
|
|
||||||
EndSection
|
|
Loading…
Reference in New Issue
Block a user