New configs
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
#######################
|
||||
|
||||
|
||||
exec --no-startup-id setxkbmap -option 'grp:alt_shift_toggle'
|
||||
exec --no-startup-id setxkbmap -layout us,lt
|
||||
exec --no-startup-id setxkbmap -option 'grp:alt_shift_toggle'
|
||||
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
@@ -198,7 +198,7 @@ bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# keybinding in fancy rofi (automated):
|
||||
bindsym F1 exec --no-startup-id ~/.config/i3/scripts/keyhint-2
|
||||
bindsym $mod+Shift+d exec --no-startup-id ~/.config/i3/scripts/keyhint-2
|
||||
# alternative
|
||||
# keybinding list in editor:
|
||||
# bindsym $mod+F1 exec --no-startup-id xed ~/.config/i3/keybindings
|
||||
@@ -290,7 +290,7 @@ bindsym XF86AudioMute exec --no-startup-id ~/.config/i3/scripts/volume_brightnes
|
||||
bindsym XF86AudioMicMute exec amixer sset Capture toggle
|
||||
|
||||
# audio control
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPause exec --no-startup-id playerctl pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
@@ -339,19 +339,29 @@ assign [class="alacritty"] $ws1
|
||||
assign [class="(?i)firefox"] $ws2
|
||||
assign [class="Thunar"] $ws3
|
||||
assign [class="thunderbird"] $ws4
|
||||
assign [class="Spotify"] $ws4
|
||||
assign [class="TelegramDesktop"] $ws5
|
||||
assign [class="discord"] $ws5
|
||||
assign [class="Element"] $ws5
|
||||
assign [class="code"] $ws6
|
||||
|
||||
# automatic set focus new window if it opens on another workspace than the current:
|
||||
for_window [class=alacritty] focus
|
||||
for_window [class=(?i)firefox] focus
|
||||
for_window [class=Thunar] focus
|
||||
for_window [class=Thunderbird] focus
|
||||
for_window [class=TelegramDesktop] focus
|
||||
for_window [class=discord] focus
|
||||
for_window [class=code] focus
|
||||
|
||||
#for_window [class=TelegramDesktop] focus
|
||||
#for_window [class=discord] focus
|
||||
#for_window [class=element-desktop] focus
|
||||
|
||||
for_window [class=spotify] layout tabbed
|
||||
for_window [class=thunderbird] layout tabbed
|
||||
for_window [class=TelegramDesktop] layout tabbed
|
||||
for_window [class=discord] layout tabbed
|
||||
for_window [class=Element] layout tabbed
|
||||
|
||||
|
||||
##############
|
||||
# compositor #
|
||||
##############
|
||||
@@ -447,10 +457,13 @@ exec --no-startup-id /usr/bin/dunst
|
||||
#exec_always --no-startup-id autotiling
|
||||
|
||||
# Autostart apps as you like
|
||||
exec --no-startup-id sleep 1 && alacritty
|
||||
exec --no-startup-id sleep 1 && firefox
|
||||
exec --no-startup-id sleep 1 && thunar
|
||||
exec --no-startup-id sleep 1 && discord
|
||||
exec --no-startup-id alacritty
|
||||
exec --no-startup-id firefox
|
||||
# exec --no-startup-id thunar
|
||||
exec --no-startup-id discord
|
||||
# exec --no-startup-id element-desktop
|
||||
# exec --no-startup-id thunderbird
|
||||
# exec --no-startup-id spotify
|
||||
|
||||
###############
|
||||
# system tray #
|
||||
@@ -504,12 +517,12 @@ set $darkbluetrans #08052be6
|
||||
set $darkblue #08052b
|
||||
set $lightblue #5294e2
|
||||
set $urgentred #e53935
|
||||
set $white #ffffff
|
||||
set $black #000000
|
||||
set $purple #e345ff
|
||||
set $darkgrey #383c4a
|
||||
set $grey #b0b5bd
|
||||
set $mediumgrey #8b8b8b
|
||||
set $white #ffffff
|
||||
set $black #000000
|
||||
set $purple #e345ff
|
||||
set $darkgrey #383c4a
|
||||
set $grey #b0b5bd
|
||||
set $mediumgrey #8b8b8b
|
||||
set $yellowbrown #e1b700
|
||||
|
||||
# define colors for windows:
|
||||
@@ -526,27 +539,28 @@ client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
|
||||
# Start i3bar to display a workspace bar
|
||||
# (plus the system information i3status finds out, if available)
|
||||
bar {
|
||||
font pango: Noto Sans Regular 10
|
||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||
position bottom
|
||||
# i3bar_command i3bar --transparency
|
||||
# it could be that you have no primary display set: set one (xrandr --output <output> --primary)
|
||||
# reference: https://i3wm.org/docs/userguide.html#_tray_output
|
||||
#tray_output primary
|
||||
tray_padding 0
|
||||
font pango: Noto Sans Regular 10
|
||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||
position bottom
|
||||
# i3bar_command i3bar --transparency
|
||||
|
||||
# it could be that you have no primary display set: set one (xrandr --output <output> --primary)
|
||||
# reference: https://i3wm.org/docs/userguide.html#_tray_output
|
||||
#tray_output primary
|
||||
tray_padding 0
|
||||
|
||||
# When strip_workspace_numbers is set to yes,
|
||||
# any workspace that has a name of the form
|
||||
# “[n][:][NAME]” will display only the name.
|
||||
strip_workspace_numbers yes
|
||||
##strip_workspace_name no
|
||||
# When strip_workspace_numbers is set to yes,
|
||||
# any workspace that has a name of the form
|
||||
# “[n][:][NAME]” will display only the name.
|
||||
strip_workspace_numbers yes
|
||||
##strip_workspace_name no
|
||||
|
||||
colors {
|
||||
separator $purple
|
||||
background $darkgrey
|
||||
statusline $white
|
||||
# border bg txt indicator
|
||||
focused_workspace $mediumgrey $grey $darkgrey $purple
|
||||
colors {
|
||||
separator $purple
|
||||
background $darkgrey
|
||||
statusline $white
|
||||
# border bg txt indicator
|
||||
focused_workspace $mediumgrey $grey $darkgrey $purple
|
||||
active_workspace $lightblue $mediumgrey $darkgrey $purple
|
||||
inactive_workspace $darkgrey $darkgrey $grey $purple
|
||||
urgent_workspace $urgentred $urgentred $white $purple
|
||||
@@ -608,4 +622,4 @@ bindsym $mod+t exec --no-startup-id rofi -show window \
|
||||
|
||||
#exec --no-startup-id greenclip daemon>/dev/null
|
||||
#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
|
||||
# -config ~/.config/rofi/rofidmenu.rasi
|
||||
# -config ~/.config/rofi/rofidmenu.rasi
|
||||
|
||||
@@ -62,17 +62,19 @@ full_text=
|
||||
color=#7f3fbf
|
||||
command=i3-msg -q exec thunar ~/
|
||||
|
||||
|
||||
|
||||
#[mail]
|
||||
#full_text=
|
||||
#color=#dbcb75
|
||||
#command=i3-msg -q exec thunderbird
|
||||
[mail]
|
||||
full_text=
|
||||
color=#dbcb75
|
||||
command=i3-msg -q exec thunderbird
|
||||
|
||||
[simple-2]
|
||||
full_text=: :
|
||||
color=#717171
|
||||
|
||||
[xomf]
|
||||
interval=60
|
||||
command=/home/mcorange/@Projects/personal/tsl/target/release/tsl xomf
|
||||
|
||||
# Disk usage
|
||||
#
|
||||
# The directory defaults to $HOME if the instance is not specified.
|
||||
@@ -82,6 +84,7 @@ color=#717171
|
||||
label=
|
||||
instance=/
|
||||
command=~/.config/i3/scripts/disk
|
||||
# command=~/@Projects/personal/tsl/target/release/tsl xomf
|
||||
interval=30
|
||||
|
||||
# Memory usage
|
||||
@@ -109,10 +112,11 @@ interval=30
|
||||
# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
|
||||
|
||||
# showing name of connected network (enable for wifi use)
|
||||
#[net]
|
||||
#label=
|
||||
#command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')"
|
||||
#interval=30
|
||||
[net]
|
||||
label=
|
||||
command=echo "$(LANG=C nmcli d | grep -P 'wifi[\s]+connected' | awk '{print $4}')"
|
||||
# command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')"
|
||||
interval=30
|
||||
|
||||
[bandwidth]
|
||||
command=~/.config/i3/scripts/bandwidth2
|
||||
|
||||
Reference in New Issue
Block a user