Resolves #36
Also added Spotify song name as i3block to Samsung monitor.
This commit is contained in:
@@ -117,6 +117,7 @@ bindsym $mod+F2 workspace $ws2; exec terminator
|
|||||||
|
|
||||||
set $ws3 "3 "
|
set $ws3 "3 "
|
||||||
workspace $ws3 output $benq
|
workspace $ws3 output $benq
|
||||||
|
bindsym $mod+F3 workspace $ws3; exec google-chrome
|
||||||
|
|
||||||
set $ws4 "4 "
|
set $ws4 "4 "
|
||||||
workspace $ws4 output $samsung
|
workspace $ws4 output $samsung
|
||||||
@@ -186,11 +187,6 @@ bindsym $mod+control+9 move container to workspace $ws9; workspace $ws9
|
|||||||
bindsym $mod+control+0 move container to workspace $ws10; workspace $ws10
|
bindsym $mod+control+0 move container to workspace $ws10; workspace $ws10
|
||||||
bindsym $mod+control+Shift+1 move container to workspace $ws11
|
bindsym $mod+control+Shift+1 move container to workspace $ws11
|
||||||
# }}} move container to ws #
|
# }}} move container to ws #
|
||||||
|
|
||||||
# gaps {{{ #
|
|
||||||
# gaps inner 10
|
|
||||||
# gaps outer 20
|
|
||||||
# }}} gaps #
|
|
||||||
# }}} workspace #
|
# }}} workspace #
|
||||||
|
|
||||||
# reload config/computer {{{ #
|
# reload config/computer {{{ #
|
||||||
@@ -210,6 +206,16 @@ bindsym $mod+control+j resize shrink height 10 px or 10 ppt
|
|||||||
bindsym $mod+control+l resize shrink width 10 px or 10 ppt
|
bindsym $mod+control+l resize shrink width 10 px or 10 ppt
|
||||||
# }}} resizing windows #
|
# }}} resizing windows #
|
||||||
|
|
||||||
|
# gaps {{{ #
|
||||||
|
for_window [class="^.*"] border pixel 0
|
||||||
|
smart_gaps on
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 15
|
||||||
|
|
||||||
|
bindsym control+shift+plus gaps inner all plus 5;gaps outer all plus 5
|
||||||
|
bindsym control+shift+0 gaps inner all minus 5;gaps outer all minus 5
|
||||||
|
# }}} gaps #
|
||||||
|
|
||||||
# status bar {{{ #
|
# status bar {{{ #
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
@@ -223,8 +229,10 @@ bar {
|
|||||||
|
|
||||||
bar {
|
bar {
|
||||||
output $samsung
|
output $samsung
|
||||||
|
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
||||||
tray_output none
|
tray_output none
|
||||||
font pango:$sb_font 22
|
font pango:$sb_font 22
|
||||||
|
# font pango:monospace 22, FontAwesome 22
|
||||||
}
|
}
|
||||||
# }}} status bar #
|
# }}} status bar #
|
||||||
|
|
||||||
|
|||||||
@@ -52,10 +52,10 @@ label=
|
|||||||
min_width=CPU: 100.00%
|
min_width=CPU: 100.00%
|
||||||
color=#adeaea
|
color=#adeaea
|
||||||
|
|
||||||
[wifi]
|
# [wifi]
|
||||||
label=🖧
|
# label=
|
||||||
instance=wlp4s0
|
# instance=wlp4s0
|
||||||
interval=10
|
# interval=10
|
||||||
|
|
||||||
[name]
|
[name]
|
||||||
color=#cc5490
|
color=#cc5490
|
||||||
|
|||||||
16
configs/NZXT/sam-i3blocks.conf
Normal file
16
configs/NZXT/sam-i3blocks.conf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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.
|
||||||
|
align=center
|
||||||
|
command=/usr/share/i3blocks/$BLOCK_NAME
|
||||||
|
separator=true
|
||||||
|
separator_block_width=25
|
||||||
|
markup=pango
|
||||||
|
# }}} Global properties #
|
||||||
|
|
||||||
|
[spotify]
|
||||||
|
command=python /usr/share/i3blocks/spotify.py
|
||||||
|
label=
|
||||||
|
# label=
|
||||||
|
color=#009900
|
||||||
|
interval=10
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
# Get directory variables from script.
|
# Get directory variables from script.
|
||||||
. ../dirs.sh
|
. ../dirs.sh
|
||||||
# List of config files in system config dir that I want to link to.
|
# List of config files in system config dir that I want to link to.
|
||||||
config_files="neofetch/config.conf i3/config i3blocks/i3blocks.conf"
|
config_files="neofetch/config.conf i3/config i3blocks/i3blocks.conf "\
|
||||||
|
"sam-i3blocks/sam-i3blocks.conf"
|
||||||
for file in $config_files; do
|
for file in $config_files; do
|
||||||
# Remove system file.
|
# Remove system file.
|
||||||
rm "$sys_config_dir"/"$file"
|
rm "$sys_config_dir"/"$file"
|
||||||
|
|||||||
Reference in New Issue
Block a user