updated some things for new laptop, big change is updating amixer commands to pactl
This commit is contained in:
parent
0cb9d9d693
commit
9cf2d2aaf5
@ -234,10 +234,11 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||
--
|
||||
[
|
||||
-- decrease volume with mod+f11
|
||||
((modm, xK_F11), spawn "amixer -c 2 set Master 5%-")
|
||||
((modm, xK_F11), spawn "pactl set-sink-volume 0 -5%")
|
||||
|
||||
-- increase volume with mod+f12
|
||||
,((modm, xK_F12), spawn "amixer -c 2 set Master 5%+")
|
||||
,((modm, xK_F12), spawn "pactl set-sink-volume 0 +5%")
|
||||
,((modm, xK_F10), spawn "pactl set-sink-mute 0 toggle")
|
||||
]
|
||||
++
|
||||
|
||||
@ -383,8 +384,8 @@ myManageHook = composeAll
|
||||
, resource =? "desktop_window" --> doIgnore
|
||||
, (className =? "firefox" <&&> resource =? "Dialog") --> doFloat -- Float Firefox Dialog
|
||||
, resource =? "kdesktop" --> doIgnore
|
||||
, className =? "MusicBrainz Picard" --> doIgnore ]
|
||||
|
||||
, className =? "MusicBrainz Picard" --> doIgnore
|
||||
, className =? "Steam" --> doFloat ]
|
||||
------------------------------------------------------------------------
|
||||
-- Event handling
|
||||
|
||||
@ -411,23 +412,29 @@ myLogHook = fadeInactiveLogHook fadeAmount
|
||||
--
|
||||
-- By default, do nothing.
|
||||
myStartupHook = do
|
||||
-- .xprofile contains numlock, compositor, nitrogen, cursor set, and kbd set.
|
||||
-- Move to .xprofile on desktop
|
||||
spawnOnce "/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil &"
|
||||
spawnOnce "/home/solomon/.screenlayout/normal.sh"
|
||||
spawnOnce "compton &"
|
||||
spawnOnce "nitrogen --restore &"
|
||||
spawnOnce "dunst &"
|
||||
spawnOnce "xsetroot -cursor_name left_ptr"
|
||||
spawnOnce "numlockx"
|
||||
|
||||
-- Startup apps (tray) and settings
|
||||
spawnOnce "/home/solomon/.screenlayout/normal.sh" -- really only matters for desktop
|
||||
spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x14071F --height 20 &"
|
||||
spawnOnce "volumeicon &"
|
||||
spawnOnce "nm-applet &"
|
||||
spawnOnce "blueman-applet &"
|
||||
spawnOnce "kdeconnect-indicator &"
|
||||
spawnOnce "ibus-daemon &"
|
||||
spawnOnce "dunst &" -- notification daemon
|
||||
|
||||
-- Startup Applications
|
||||
spawnOnce "guake &"
|
||||
spawnOnce "barrier &"
|
||||
spawnOnce "nextcloud &"
|
||||
spawnOnce "slack &"
|
||||
spawnOnce "todoist &"
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user