Instead of a bash script, Conky may be used. The script may also show the date, in which case the built-in clock can be disabled: Here are some other ideas for status bar items: ethernet, email notification, disk space, mounts, now playing (mpc current). If you have problems at this stage, make sure the script is executable, test it from the command line, and check the path/filename you specified in bar_action. Press Modkey+Q to restart spectrwm and after a few seconds you should see the output in the status bar. #loops forever outputting a line every SLEEP_SEC secs SLEEP_SEC=5 # set bar_delay = 5 in /etc/nf # baraction.sh script for spectrwm status bar ~/scripts (or ~/bin) directory which you have previously added to your $PATH in your ~/.bashrc file. To test the status bar, place the following simple baraction.sh in a By default they are commented out and the statusbar is disabled. To enable the statusbar, uncomment these two items in /etc/nf (or ~/.nf). With a non- Xrandr multiple monitor setup create regions to split the total desktop area into one region per monitor: Copy-paste the contents of /etc/spectrwm/spectrwm_>.conf to the end of your ~/.nf.Set keyboard_mapping to /dev/null in your ~/.nf.Run xscreensaver-demo to select the animation (or blank) and display power management (recommended).ĭefault keybindings are in /etc/spectrwm/spectrwm_>.conf. Elinks arch linux how to#See Xdefaults for details of how to set up fonts, colours and other settings for xterm and xscreensaver. Xscreensaver is also useful for screen saving and power management after an idle period and screen locking. There is also a screen lock key binding, which by default calls xlock from the xlockmore package. The modkey (the main key to issue commands with) is set to Mod4, which is usually the Super key. ~/.nf bar_font = xos4 Terminus:pixelsize=14 Check installed fonts with the fc-list command and set one in the bar_font field in your local configuration file. Note: You will need to set an available font for the status bar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |