2019-11-12 21:29:26 +01:00
|
|
|
|
######################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# Start of all the settings #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2021-03-09 17:12:51 +01:00
|
|
|
|
# NOTE THIS FILE IS OVERWRITTEN WITH THE ONE FROM THEMES!!
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# 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 #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# 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
|
2020-11-09 20:43:25 +01:00
|
|
|
|
set $up k
|
|
|
|
|
set $down j
|
|
|
|
|
set $left h
|
|
|
|
|
set $right l
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
2020-02-25 12:10:19 +01:00
|
|
|
|
################# Workspaces location #################
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# setting variables for later use
|
|
|
|
|
# use xrandr and/or arandr to know the names of your monitors
|
2023-05-30 15:49:05 +02:00
|
|
|
|
#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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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, ... #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#Press $mod (super) and X to exit - check toolbar for next choices
|
2020-12-09 17:19:31 +01:00
|
|
|
|
bindsym $mod+x mode "$mode_system"
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2023-07-11 16:41:21 +02:00
|
|
|
|
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend, (h) hibernate
|
2019-11-12 21:29:26 +01:00
|
|
|
|
mode "$mode_system" {
|
2022-06-05 20:40:11 +02:00
|
|
|
|
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"
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# 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 #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# 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
|
2023-09-20 18:43:34 +02:00
|
|
|
|
bindsym $mod+f floating toggle
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
2020-02-13 16:25:42 +01:00
|
|
|
|
bindsym $mod+Tab workspace next
|
|
|
|
|
bindsym $mod+Shift+Tab workspace prev
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# switch to workspace with urgent window automatically
|
|
|
|
|
for_window [urgent=latest] focus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# Tiling parameters #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# orientation for new workspaces
|
|
|
|
|
default_orientation horizontal
|
|
|
|
|
|
|
|
|
|
# split in horizontal orientation
|
2020-11-09 20:43:25 +01:00
|
|
|
|
bindsym $mod+o split h
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# split in vertical orientation
|
|
|
|
|
bindsym $mod+v split v
|
|
|
|
|
|
|
|
|
|
# enter fullscreen mode for the focused container
|
2023-09-20 18:43:34 +02:00
|
|
|
|
bindsym $mod+Shift+f fullscreen toggle
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
2020-09-13 12:11:03 +02:00
|
|
|
|
bindsym $mod+t focus mode_toggle
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# focus the parent container
|
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
|
|
|
|
|
|
# focus the child container
|
2022-12-15 16:52:48 +01:00
|
|
|
|
bindsym $mod+d focus child
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:28:17 +02:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# change modes #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2022-07-20 14:21:59 +02:00
|
|
|
|
:'
|
2020-09-14 07:53:56 +02:00
|
|
|
|
bindsym $mod+m mode "$main"
|
2020-09-13 11:28:17 +02:00
|
|
|
|
|
2021-05-15 21:18:35 +02:00
|
|
|
|
set $main Social (s), Gaming (g), Crypto (c), Media (m), Resize (r), Layout (l)
|
2020-09-13 11:40:12 +02:00
|
|
|
|
mode "$main"{
|
2021-05-15 21:18:35 +02:00
|
|
|
|
bindsym s mode "$social"
|
2020-09-13 11:40:12 +02:00
|
|
|
|
bindsym g mode "$gaming"
|
2021-02-16 13:18:01 +01:00
|
|
|
|
bindsym c mode "$crypto"
|
2021-05-15 21:18:35 +02:00
|
|
|
|
bindsym m mode "$media"
|
2020-09-13 11:58:20 +02:00
|
|
|
|
bindsym r mode "resize"
|
|
|
|
|
bindsym l mode "$layout"
|
2020-09-13 11:28:17 +02:00
|
|
|
|
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#############################################################################
|
2021-05-15 21:18:35 +02:00
|
|
|
|
################## social ##################
|
2020-09-13 11:28:17 +02:00
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
|
|
|
2021-11-09 08:49:13 +01:00
|
|
|
|
set $social Discord (d), Element (e), Telegram (b), Signal (s), Teams (t)
|
2021-05-15 21:18:35 +02:00
|
|
|
|
mode "$social"{
|
2021-12-19 16:57:49 +01:00
|
|
|
|
bindsym d exec --no-startup-id discord --no-sandbox;focus
|
2021-02-16 18:29:57 +01:00
|
|
|
|
bindsym e exec --no-startup-id element-desktop;focus
|
2020-12-06 12:30:24 +01:00
|
|
|
|
bindsym b exec --no-startup-id telegram-desktop;focus
|
2021-08-26 15:54:15 +02:00
|
|
|
|
#bindsym s exec --no-startup-id slack;focus
|
2022-07-20 14:21:59 +02:00
|
|
|
|
bindsym s exec --no-startup-id signal-desktop;focus
|
2020-09-17 20:51:04 +02:00
|
|
|
|
bindsym t exec --no-startup-id teams;focus
|
2020-09-13 11:28:17 +02:00
|
|
|
|
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
|
2021-05-15 21:18:35 +02:00
|
|
|
|
#############################################################################
|
|
|
|
|
################## 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"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-02-16 13:18:01 +01:00
|
|
|
|
##############################################################################
|
2021-05-15 21:18:35 +02:00
|
|
|
|
################# crypto #################
|
2021-02-16 13:18:01 +01:00
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
|
|
|
2021-10-26 12:51:08 +02:00
|
|
|
|
set $crypto Electrum (b), Electon Cash (c), Monero (m)
|
2021-02-16 13:18:01 +01:00
|
|
|
|
mode "$crypto"{
|
|
|
|
|
bindsym b exec --no-startup-id electrum;focus
|
|
|
|
|
bindsym c exec --no-startup-id electron-cash;focus
|
2021-10-26 12:51:08 +02:00
|
|
|
|
bindsym m exec --no-startup-id monero-wallet-gui;focus
|
2021-02-16 13:18:01 +01:00
|
|
|
|
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
##############################################################################
|
|
|
|
|
################# gaming #################
|
|
|
|
|
##############################################################################
|
2020-02-13 15:29:50 +01:00
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2020-02-13 15:29:50 +01:00
|
|
|
|
# launch gaming focused programs
|
2023-08-17 11:44:45 +02:00
|
|
|
|
set $gaming Lutris (l), Steam (s), Heroic (h), Itch (i), Citra (3DS) (c)
|
2020-02-13 15:37:22 +01:00
|
|
|
|
mode "$gaming" {
|
2020-02-21 15:26:06 +01:00
|
|
|
|
bindsym l exec --no-startup-id lutris;focus
|
2023-05-28 10:01:36 +02:00
|
|
|
|
bindsym s exec --no-startup-id mangohud steam-native;focus
|
2023-08-17 11:44:45 +02:00
|
|
|
|
bindsym h exec --no-startup-id heroic;focus
|
2021-07-01 11:29:50 +02:00
|
|
|
|
bindsym i exec --no-startup-id itch;focus
|
2021-05-14 13:34:32 +02:00
|
|
|
|
bindsym c exec --no-startup-id citra-qt;focus
|
2020-02-13 15:29:50 +01:00
|
|
|
|
|
2020-02-21 15:26:06 +01:00
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
2020-02-13 15:29:50 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
#############################################################################
|
|
|
|
|
################### resize ##################
|
|
|
|
|
#############################################################################
|
2020-08-29 14:11:10 +02:00
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
# resize window (you can also use the mouse for that)
|
2020-09-17 20:51:04 +02:00
|
|
|
|
bindsym $mod+r mode "resize"
|
2020-08-29 14:11:10 +02:00
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
mode "resize" {
|
|
|
|
|
# These bindings trigger as soon as you enter the resize mode
|
2020-08-29 14:11:10 +02:00
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
# 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
|
2020-08-29 14:11:10 +02:00
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
# 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"
|
2020-08-29 14:11:10 +02:00
|
|
|
|
}
|
2022-07-20 14:21:59 +02:00
|
|
|
|
'
|
2020-08-29 14:11:10 +02:00
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
##############################################################################
|
|
|
|
|
################# start normal layout #################
|
|
|
|
|
##############################################################################
|
2020-02-25 12:10:19 +01:00
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
# launch programs in the right workspaces
|
2020-02-25 12:10:19 +01:00
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
bindsym $mod+w mode "$layout"
|
2020-02-25 12:10:19 +01:00
|
|
|
|
|
2022-01-19 16:58:44 +01:00
|
|
|
|
set $layout full (f)
|
2020-09-13 11:58:20 +02:00
|
|
|
|
mode "$layout" {
|
2022-06-05 20:40:11 +02:00
|
|
|
|
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
|
2020-02-25 12:10:19 +01:00
|
|
|
|
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-09-13 11:58:20 +02:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# display #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# change xrandr display configuration
|
|
|
|
|
|
2022-12-15 16:52:48 +01:00
|
|
|
|
#bindsym $mod+d mode "$xrandr"
|
2020-09-13 11:58:20 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# choose the font #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# 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
|
2020-04-16 21:13:48 +02:00
|
|
|
|
font pango:Noto Mono Regular 9
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# execute applications at boot time #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# TRAY APPLICATIONS
|
|
|
|
|
|
|
|
|
|
#Authentication dialog
|
|
|
|
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
|
|
|
|
2020-08-26 07:57:02 +02:00
|
|
|
|
#nextcloud
|
|
|
|
|
exec --no-startup-id nextcloud
|
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# bluetooth
|
|
|
|
|
#exec --no-startup-id blueberry-tray
|
|
|
|
|
|
|
|
|
|
# network
|
2020-06-12 16:48:22 +02:00
|
|
|
|
exec --no-startup-id nm-applet
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
# num lock activated
|
|
|
|
|
exec_always --no-startup-id numlockx on
|
|
|
|
|
|
|
|
|
|
# volume
|
2020-10-10 15:05:45 +02:00
|
|
|
|
#exec --no-startup-id volumeicon
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#variety
|
2020-12-04 16:06:22 +01:00
|
|
|
|
#exec --no-startup-id variety
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-06-17 10:27:35 +02:00
|
|
|
|
#Corectrl
|
2020-06-17 10:16:59 +02:00
|
|
|
|
exec --no-startup-id corectrl
|
|
|
|
|
|
2020-06-17 10:10:32 +02:00
|
|
|
|
#Transmission
|
2022-06-09 19:40:28 +02:00
|
|
|
|
#exec --no-startup-id transmission-gtk -m
|
2020-06-17 10:10:32 +02:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#Conky
|
2022-06-05 20:40:11 +02:00
|
|
|
|
#exec --no-startup-id conky -c ~/.config/sway/system-overview
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#Polybar
|
2022-07-20 14:18:02 +02:00
|
|
|
|
exec_always --no-startup-id ~/.config/polybar/launch.sh &
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-10-17 10:00:36 +02:00
|
|
|
|
# Protonmail Bridge
|
2020-10-22 07:50:21 +02:00
|
|
|
|
exec --no-startup-id protonmail-bridge -no-window
|
2020-10-17 10:00:36 +02:00
|
|
|
|
|
2021-12-18 15:11:05 +01:00
|
|
|
|
# Start KopiaUI
|
|
|
|
|
exec --no-startup-id /opt/KopiaUI/kopia-ui
|
|
|
|
|
|
2023-07-07 21:16:57 +02:00
|
|
|
|
# Easy Effects
|
|
|
|
|
exec --no-startup-id easyeffects --gapplication-service
|
2020-11-22 18:44:42 +01:00
|
|
|
|
|
2020-12-04 16:06:22 +01:00
|
|
|
|
# feh background image
|
|
|
|
|
exec --no-startup-id bash $HOME/.fehbg &
|
|
|
|
|
|
2021-03-29 15:21:44 +02:00
|
|
|
|
# activate flameshot
|
|
|
|
|
exec --no-startup-id flameshot &
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# system applications #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2021-03-09 15:40:42 +01:00
|
|
|
|
# no really good alternatives that are independent. some others to check out:
|
2021-03-11 15:12:11 +01:00
|
|
|
|
# there are some scripts that should work with i3
|
2021-03-09 15:40:42 +01:00
|
|
|
|
# gnome-power-manager
|
|
|
|
|
# mate-power-manager
|
2019-11-12 21:29:26 +01:00
|
|
|
|
exec --no-startup-id xfce4-power-manager &
|
2021-03-09 15:40:42 +01:00
|
|
|
|
|
|
|
|
|
# notifications
|
2020-10-10 12:34:02 +02:00
|
|
|
|
exec --no-startup-id /usr/bin/dunst &
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2023-05-09 13:21:23 +02:00
|
|
|
|
# disk management
|
|
|
|
|
exec --no-startup-id udiskie --no-automount --tray &
|
|
|
|
|
|
2023-05-20 20:11:14 +02:00
|
|
|
|
# kde connect
|
|
|
|
|
exec --no-startup-id kdeconnect-indicator &
|
|
|
|
|
|
2023-01-07 11:49:06 +01:00
|
|
|
|
# thunar daemon
|
2023-01-22 10:59:34 +01:00
|
|
|
|
#exec --no-startup-id /usr/bin/thunar --daemon &
|
2023-01-07 11:49:06 +01:00
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# applications keyboard shortcuts #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#terminal
|
2021-03-09 16:57:18 +01:00
|
|
|
|
bindsym ctrl+mod1+Return exec --no-startup-id kitty;focus
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#System monitor
|
2021-03-09 15:54:56 +01:00
|
|
|
|
# potential replacement: lxtask-gtk3
|
2021-03-09 15:40:42 +01:00
|
|
|
|
#bindsym ctrl+mod1+r exec --no-startup-id xfce4-taskmanager;focus
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#settings
|
2023-01-07 13:37:12 +01:00
|
|
|
|
#bindsym ctrl+mod1+s exec --no-startup-id xfce4-settings-manager
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#pavucontrol
|
2023-01-07 13:37:12 +01:00
|
|
|
|
bindsym ctrl+mod1+u exec --no-startup-id pavucontrol;focus
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-08-26 20:30:18 +02:00
|
|
|
|
#rofi
|
2023-06-01 19:38:56 +02:00
|
|
|
|
bindsym ctrl+mod1+a exec --no-startup-id rofi -show drun -show-icons -dpi 0
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2021-11-04 08:30:13 +01:00
|
|
|
|
# joplin
|
2023-01-07 13:37:12 +01:00
|
|
|
|
bindsym ctrl+mod1+n exec --no-startup-id joplin-desktop;focus
|
2021-11-04 08:30:13 +01:00
|
|
|
|
|
2020-02-10 10:55:35 +01:00
|
|
|
|
#texteditors
|
2020-09-09 20:26:27 +02:00
|
|
|
|
#bindsym ctrl+mod1+e exec --no-startup-id vscodium;focus
|
|
|
|
|
bindsym ctrl+mod1+e exec --no-startup-id emacs;focus
|
2020-01-13 13:44:21 +01:00
|
|
|
|
|
2021-03-22 13:41:59 +01:00
|
|
|
|
# file manager
|
2023-01-06 20:41:31 +01:00
|
|
|
|
bindsym ctrl+mod1+t exec --no-startup-id thunar;focus
|
2021-04-06 20:23:48 +02:00
|
|
|
|
#bindsym ctrl+mod1+t exec --no-startup-id pcmanfm;focus
|
2023-01-06 20:41:31 +01:00
|
|
|
|
#bindsym ctrl+mod1+t exec --no-startup-id nemo;focus
|
2020-01-13 13:44:21 +01:00
|
|
|
|
|
|
|
|
|
#libreoffice
|
|
|
|
|
bindsym ctrl+mod1+l exec --no-startup-id libreoffice;focus
|
|
|
|
|
|
|
|
|
|
#browsers
|
2023-01-07 13:37:12 +01:00
|
|
|
|
bindsym ctrl+mod1+f exec --no-startup-id firefox;focus
|
2020-02-13 14:49:46 +01:00
|
|
|
|
|
2020-12-12 12:54:48 +01:00
|
|
|
|
#tauon music box
|
2021-10-28 19:34:00 +02:00
|
|
|
|
#bindsym ctrl+mod1+m exec --no-startup-id tauon;focus
|
|
|
|
|
|
|
|
|
|
# jellyamp
|
2023-01-07 13:36:47 +01:00
|
|
|
|
#bindsym ctrl+mod1+m exec --no-startup-id "env DESKTOPINTEGRATION=false /usr/bin/Jellyamp";focus
|
2020-02-19 20:16:51 +01:00
|
|
|
|
|
2023-02-01 19:58:02 +01:00
|
|
|
|
# sublime music
|
|
|
|
|
bindsym ctrl+mod1+m exec --no-startup-id sublime-music;focus
|
|
|
|
|
|
2021-05-10 19:53:23 +02:00
|
|
|
|
# jellyfin media player
|
|
|
|
|
bindsym ctrl+mod1+j exec --no-startup-id jellyfinmediaplayer;focus
|
|
|
|
|
|
2021-05-21 14:15:15 +02:00
|
|
|
|
# mail
|
2022-04-10 15:47:18 +02:00
|
|
|
|
bindsym ctrl+mod1+b exec --no-startup-id thunderbird;focus
|
|
|
|
|
#bindsym ctrl+mod1+b exec --no-startup-id evolution;focus
|
2020-07-22 11:35:26 +02:00
|
|
|
|
|
2020-09-19 12:37:29 +02:00
|
|
|
|
#redetect pulseaudio
|
2021-09-02 14:36:18 +02:00
|
|
|
|
#bindsym $mod+shift+a exec --no-startup-id bash $HOME/scripts/redetect-audio.sh
|
2020-09-19 12:37:29 +02:00
|
|
|
|
|
2023-01-07 13:37:01 +01:00
|
|
|
|
# Emoji picker
|
2023-06-01 19:38:56 +02:00
|
|
|
|
bindsym ctrl+mod1+p exec --no-startup-id rofi -show emoji -dpi 0
|
2023-01-07 13:37:01 +01:00
|
|
|
|
|
2020-02-13 14:49:46 +01:00
|
|
|
|
|
2020-01-14 15:16:02 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# screenshots #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2021-03-09 15:40:42 +01:00
|
|
|
|
#bindsym Print exec --no-startup-id xfce4-screenshooter
|
2023-01-07 13:37:12 +01:00
|
|
|
|
#bindsym Ctrl+Print exec --no-startup-id xfce4-screenshooter
|
2021-03-09 15:40:42 +01:00
|
|
|
|
bindsym Print exec --no-startup-id flameshot gui
|
2023-01-07 13:37:12 +01:00
|
|
|
|
bindsym Ctrl+Print exec --no-startup-id flameshot gui -d 2000
|
2020-01-14 15:16:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# floating or tiled #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
2020-11-25 08:42:58 +01:00
|
|
|
|
# class = WM_CLASS, title = WM_NAME
|
2020-01-14 15:16:02 +01:00
|
|
|
|
|
2021-03-01 08:41:43 +01:00
|
|
|
|
##############################
|
|
|
|
|
### floating disabled ###
|
|
|
|
|
##############################
|
2020-01-14 15:16:02 +01:00
|
|
|
|
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
|
|
|
|
|
|
2021-03-01 08:41:43 +01:00
|
|
|
|
# variety
|
2020-01-14 15:16:02 +01:00
|
|
|
|
for_window [instance="variety"] floating disable
|
2021-03-01 08:41:43 +01:00
|
|
|
|
|
|
|
|
|
# epic
|
2020-12-21 19:05:02 +01:00
|
|
|
|
for_window [title="Epic Games Launcher"] floating disable
|
2021-03-01 08:41:43 +01:00
|
|
|
|
|
|
|
|
|
# ubisoft
|
2020-12-21 19:25:00 +01:00
|
|
|
|
for_window [title="Ubisoft Connect"] floating disable
|
2020-01-14 15:16:02 +01:00
|
|
|
|
|
2021-03-01 08:41:43 +01:00
|
|
|
|
# firefox picture in picture
|
2021-09-09 15:35:36 +02:00
|
|
|
|
for_window [title="Picture-in-Picture"] floating disable
|
|
|
|
|
|
|
|
|
|
# system-config-printer
|
|
|
|
|
for_window [title="Druckeinstellungen - localhost"] floating disable
|
2021-03-01 08:41:43 +01:00
|
|
|
|
|
2021-09-09 15:37:01 +02:00
|
|
|
|
# hp printers
|
|
|
|
|
for_window [class="hp-toolbox"] floating disable
|
|
|
|
|
|
2021-10-24 16:38:00 +02:00
|
|
|
|
# balena etcher
|
|
|
|
|
for_window [title="Etcher"] floating disable
|
|
|
|
|
|
2021-10-28 15:22:11 +02:00
|
|
|
|
# jellyamp
|
|
|
|
|
for_window [title="Jellyamp"] floating disable
|
|
|
|
|
|
2021-11-21 11:13:08 +01:00
|
|
|
|
# rule the waves 2
|
2021-11-21 11:20:05 +01:00
|
|
|
|
for_window [title="Rule the Waves II - Version 1.21"] floating disable
|
2021-11-21 16:55:01 +01:00
|
|
|
|
for_window [title="Rule the Waves II - Version 1.25"] floating disable
|
2023-03-13 22:01:26 +01:00
|
|
|
|
for_window [title="Rule the Waves II - Version 1.26"] floating disable
|
2021-11-21 11:13:08 +01:00
|
|
|
|
|
2021-12-30 10:21:21 +01:00
|
|
|
|
# nextcloud settings
|
|
|
|
|
for_window [title="Nextcloud-Einstellungen"] floating disable
|
|
|
|
|
|
2022-09-30 17:23:28 +02:00
|
|
|
|
# thunderbird calendar
|
|
|
|
|
for_window [title="^Edit Event:.*"] floating disable
|
|
|
|
|
|
2021-03-01 08:41:43 +01:00
|
|
|
|
##############################
|
|
|
|
|
### floating enabled ###
|
|
|
|
|
##############################
|
2020-11-25 08:42:58 +01:00
|
|
|
|
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
|
2020-01-14 15:16:02 +01:00
|
|
|
|
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
|
2020-11-25 08:42:58 +01:00
|
|
|
|
|
2021-03-01 08:38:46 +01:00
|
|
|
|
# ms teams
|
2020-09-24 21:04:53 +02:00
|
|
|
|
for_window [title="Microsoft Teams Notification"] floating enable
|
2020-12-03 14:25:19 +01:00
|
|
|
|
for_window [title="Microsoft Teams-Benachrichtigung"] floating enable
|
2020-01-14 15:16:02 +01:00
|
|
|
|
|
2021-03-01 08:38:46 +01:00
|
|
|
|
# vue
|
2020-11-18 10:28:35 +01:00
|
|
|
|
for_window [class="tufts-vue-VUE" title="Format"] floating enable
|
|
|
|
|
for_window [class="tufts-vue-VUE" title="ColorPopupMenu"] floating enable
|
2020-10-22 08:05:56 +02:00
|
|
|
|
|
2023-09-20 18:45:56 +02:00
|
|
|
|
##############################
|
|
|
|
|
### fullscreen enabled ###
|
|
|
|
|
##############################
|
|
|
|
|
for_window [class="steam_app_261550"] fullscreen enable # Mount & Blade II: Bannerlord
|
2021-03-01 08:38:46 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# variety for your wallpapers #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Variety keybindings mod1 = ALT
|
|
|
|
|
# next wallpaper
|
2020-12-04 16:06:22 +01:00
|
|
|
|
#bindsym mod1+n exec --no-startup-id variety -n
|
|
|
|
|
#bindsym mod1+Right exec --no-startup-id variety -n
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# previous wallpaper
|
2020-12-04 16:06:22 +01:00
|
|
|
|
#bindsym mod1+p exec --no-startup-id variety -p
|
|
|
|
|
#bindsym mod1+Left exec --no-startup-id variety -p
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# audio settings #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
2020-10-10 14:38:14 +02:00
|
|
|
|
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"
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#https://github.com/acrisci/playerctl/
|
2021-03-17 15:41:32 +01:00
|
|
|
|
#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 &
|
2019-11-12 21:29:26 +01:00
|
|
|
|
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# xbacklight #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
2020-10-13 18:03:32 +02:00
|
|
|
|
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
|
2020-10-10 21:32:28 +02:00
|
|
|
|
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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# border control #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Border control
|
2021-03-02 08:22:44 +01:00
|
|
|
|
hide_edge_borders none
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
bindsym $mod+u mode "$border"
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
set $border none (o), pixel (p), normal (n)
|
|
|
|
|
mode "$border" {
|
|
|
|
|
bindsym o border none
|
2021-03-02 08:10:11 +01:00
|
|
|
|
bindsym p border pixel 2
|
|
|
|
|
bindsym n border normal 2
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# Popups control #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#Popups during fullscreen mode
|
|
|
|
|
popup_during_fullscreen smart
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# i3 gaps next #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# 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
|
|
|
|
|
|
2021-03-02 08:22:44 +01:00
|
|
|
|
# set border and gaps
|
2022-01-04 09:47:37 +01:00
|
|
|
|
for_window [class="^.*"] border pixel 2
|
2022-01-04 09:44:09 +01:00
|
|
|
|
#gaps inner 3
|
|
|
|
|
#gaps outer 3
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
2020-08-23 16:24:10 +02:00
|
|
|
|
################# compton (now picom) of i3wm #################
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
#if you want transparency on non-focused windows, ...
|
2022-06-05 20:40:11 +02:00
|
|
|
|
exec_always --no-startup-id picom -b --config ~/.config/sway/picom.conf
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
################# bar appearance #################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2020-02-13 21:34:12 +01:00
|
|
|
|
#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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
2020-02-21 15:26:06 +01:00
|
|
|
|
#status_command i3status
|
2022-06-05 20:40:11 +02:00
|
|
|
|
#status_command i3status -c ~/.config/sway/i3status.conf
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# OPTION 2 : i3blocks
|
|
|
|
|
|
|
|
|
|
# https://github.com/vivien/i3blocks
|
|
|
|
|
# another way to provide text in the statusbar
|
|
|
|
|
# put hastag in front if not installed
|
|
|
|
|
|
2020-02-21 15:26:06 +01:00
|
|
|
|
#status_command i3blocks
|
2022-06-05 20:40:11 +02:00
|
|
|
|
#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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
2022-06-05 20:40:11 +02:00
|
|
|
|
#status_command ~/.config/sway/start-conky-i3statusbar.sh
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# OPTION 4 : polybar
|
|
|
|
|
|
2020-02-21 15:26:06 +01:00
|
|
|
|
# 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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
2020-02-13 21:34:12 +01:00
|
|
|
|
#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
|
|
|
|
|
# }
|
|
|
|
|
#
|
|
|
|
|
# }
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# DarkGrey background with white text - not focus grey background - black text
|
|
|
|
|
# Windows decoration colors
|
|
|
|
|
# class border backgr. text indicator
|
2020-02-13 21:34:12 +01:00
|
|
|
|
#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
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
2021-03-02 08:10:11 +01:00
|
|
|
|
# Purple/Pink
|
|
|
|
|
# class border backgr. text indicator
|
2021-03-04 20:39:13 +01:00
|
|
|
|
#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
|
2021-03-09 17:32:57 +01:00
|
|
|
|
#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
|
2021-03-02 08:10:11 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
################### BAR APPEARANCE ARCHIVE ######################
|
|
|
|
|
#################################################################
|
|
|
|
|
|
2020-02-13 20:10:41 +01:00
|
|
|
|
|
2019-11-12 21:29:26 +01:00
|
|
|
|
# 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 ###########################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
|
|
|
|
#####################################################################################################################
|
2020-09-09 20:09:25 +02:00
|
|
|
|
#####################################################################################################################
|