a7ef306ac0
Add new "custom" layout that allows you to create your own layouts.
92 lines
7.2 KiB
C
92 lines
7.2 KiB
C
/* speedwm actions
|
|
*
|
|
* This header is for configuring the actions and classes keybinds and rules use.
|
|
* These should be set using the '#define' but if you prefer you can use a char as well.
|
|
*
|
|
* Example of a valid #define: #define MYAWESOMEKEYBIND "myawesomescript"
|
|
* In this example, myawesomescript is the command that will run and MYAWESOMEKEYBIND is the define itself.
|
|
*
|
|
* You can use this define in a keybind (see keybinds.h) or in a rule (see rules.h).
|
|
*
|
|
* For example if you wanted to change icecat to firefox:
|
|
* #define BROWSER "icecat" -> #define BROWSER "firefox"
|
|
*
|
|
* You do not need to edit 'keybinds.h' or 'rules.h' because that's where the values we defined are actually used.
|
|
* Once you're done with your edits, run 'make clean install' to install it.
|
|
*/
|
|
|
|
/* Software options
|
|
* Note that any software named "speedwm-*" is bundled with this build and does not need to be replaced unless you want to.
|
|
*/
|
|
|
|
/* Terminal */
|
|
#define TERMINAL "st -e " /* Terminal to use */
|
|
#define TERMINAL_CLASS "st" /* Terminal to use for rules */
|
|
|
|
/* Web browser */
|
|
#define BROWSER "icecat" /* Web browser to use */
|
|
#define BROWSER_CLASS "Navigator" /* Web browser to use for rules */
|
|
|
|
/* System monitor */
|
|
#define SYSTEMSTAT "htop" /* System stat viewer to use */
|
|
|
|
/* RSS reader */
|
|
#define RSS "newsboat" /* RSS reader to use */
|
|
|
|
/* Chat client */
|
|
#define CHAT "tmux new-session -A -D -s weechat $(which --skip-alias weechat)" /* Chat client to use */
|
|
#define CHAT2 "iron" /* Second chat client (such as an IM) to use */
|
|
|
|
/* Music visualizer */
|
|
#define VISUALIZER "~/.local/bin/vis || vis" /* Music visualizer to use */
|
|
|
|
/* Email client */
|
|
#define EMAIL "aerc" /* Email client to use */
|
|
|
|
/* Text editor */
|
|
#define EDITOR "nvim" /* Text editor to use */
|
|
|
|
/* Run actions */
|
|
#define RUN "dmenu_run -l 0 -p 'Run:'" /* Run launcher */
|
|
#define RUN_ALT "speedwm-applist" /* Alternative run launcher */
|
|
#define RUN_DESKTOP "j4-dmenu-desktop --term=st --dmenu='dmenu -l 20 -p Open'"
|
|
#define RUN_CUSTOM_LAYOUT "dmenu -i -l 10 -p '>' <" /* Run launcher to use for the custom layout */
|
|
|
|
/* Screenshot actions */
|
|
#define SCREENSHOT "speedwm-screenshotutil -s" /* How to take screenshots (Selection) */
|
|
#define SCREENSHOT_FULL "speedwm-screenshotutil -f" /* How to take screenshots (Full screen) */
|
|
|
|
/* File manager */
|
|
#define FILEMANAGER "vifmrun || vifm" /* File manager that will be used */
|
|
#define FILEMANAGER_CLASS "vifmrun" /* File manager that will be used for rules */
|
|
|
|
/* Screen locker */
|
|
#define LOCKER "slock" /* Screen locker that will be used */
|
|
|
|
/* Music actions */
|
|
#define MUSIC "tmux new-session -A -D -s cmus $(which --skip-alias cmus)" /* Music player to use */
|
|
#define KILLMUSIC "pkill cmus" /* Command to run when killing the music player */
|
|
#define NEXTMUSIC "cmus-remote --next" /* Command to run when skipping to the next track */
|
|
#define PREVMUSIC "cmus-remote --prev" /* Command to run when moving back to the previous track */
|
|
#define UPMUSIC "cmus-remote --volume +3000" /* Command to run when increasing music volume */
|
|
#define DOWNMUSIC "cmus-remote --volume -3000" /* Command to run when decreasing music volume */
|
|
#define PAUSEMUSIC "cmus-remote --pause" /* Command to run when pausing the track */
|
|
|
|
/* PDF reader */
|
|
#define PDF_CLASS "Zathura" /* PDF reader to use for rules */
|
|
|
|
/* Audio options */
|
|
#define MIXER "speedwm-audioctrl -runmixer" /* Audio mixer to use */
|
|
#define VOL_DOWN "speedwm-audioctrl -lower" /* Command to run when decreasing volume */
|
|
#define VOL_UP "speedwm-audioctrl -raise" /* Command to run when increasing volume */
|
|
#define VOL_MUTE "speedwm-audioctrl -mute" /* Command to run when muting volume */
|
|
|
|
/* Managers */
|
|
#define CLIPBOARD "xclip" /* Clipboard to use */
|
|
#define COMPOSITOR "picom" /* Compositor to use */
|
|
#define NETWORK "speedwm-netctrl" /* Network manager to use */
|
|
#define KILLNETWORK "speedwm-netctrl disconnect" /* Command to run when disconnecting */
|
|
#define BLUETOOTH "speedwm-btctrl" /* Bluetooth manager to use */
|
|
#define NOTIFICATION "dunst" /* Notification daemon to use */
|
|
|